diff --git a/Devices/guition-jc3248w535c/Source/Drivers.cpp b/Devices/guition-jc3248w535c/Source/Drivers.cpp deleted file mode 100644 index c8a5c665..00000000 --- a/Devices/guition-jc3248w535c/Source/Drivers.cpp +++ /dev/null @@ -1,7 +0,0 @@ -extern "C" { - -extern void register_device_drivers() { - /* NO-OP */ -} - -} diff --git a/Devices/guition-jc3248w535c/Source/module.cpp b/Devices/guition-jc3248w535c/Source/module.cpp new file mode 100644 index 00000000..24e65e59 --- /dev/null +++ b/Devices/guition-jc3248w535c/Source/module.cpp @@ -0,0 +1,22 @@ +#include + +extern "C" { + +static error_t start() { + // Empty for now + return ERROR_NONE; +} + +static error_t stop() { + // Empty for now + return ERROR_NONE; +} + +/** @warning The variable name must be exactly "device_module" */ +struct Module device_module = { + .name = "Module", + .start = start, + .stop = stop +}; + +}