Files
tactility/Devices/m5stack-core2/source/module.cpp
T
2026-07-22 21:11:12 +02:00

18 lines
510 B
C++

#include <tactility/error.h>
#include <tactility/module.h>
extern "C" {
// AXP192 rail/GPIO1 bring-up is now devicetree-configured (see m5stack,core2.dts's axp192 node
// and axp192-module's start()), replacing what used to be done by hand here via a
// DEVICE_EVENT_STARTED device_listener.
Module m5stack_core2_module = {
.name = "m5stack-core2",
.start = [] -> error_t { return ERROR_NONE; },
.stop = [] -> error_t { return ERROR_NONE; },
.symbols = nullptr,
.internal = nullptr
};
}