1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

sys/auto_init/can: use shared auto_init makefile

This commit is contained in:
Alexandre Abadie 2020-06-08 12:07:20 +02:00
parent 45a862226e
commit 7dd7a995e3
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405
4 changed files with 1 additions and 9 deletions

View File

@ -1,3 +1,3 @@
MODULE = auto_init_can
include $(RIOTBASE)/Makefile.base
include $(RIOTMAKE)/auto_init.inc.mk

View File

@ -16,7 +16,6 @@
* @}
*/
#ifdef MODULE_CAN_LINUX
#include "can/device.h"
#include "candev_linux_params.h"
@ -52,6 +51,3 @@ void auto_init_can_native(void) {
candev_linux_params[i].name, &candev_dev_linux[i]);
}
}
#else
typedef int dont_be_pedantic;
#endif

View File

@ -16,7 +16,6 @@
* @}
*/
#ifdef MODULE_PERIPH_CAN
#include "can/device.h"
#include "can_params.h"
@ -52,6 +51,3 @@ void auto_init_periph_can(void) {
candev_params[i].name, &candev_dev[i]);
}
}
#else
typedef int dont_be_pedantic;
#endif