#include #include #include #include constexpr auto* TAG = "tdeck-plus"; extern "C" { static error_t start() { LOG_I(TAG, "Power on start"); if (!tdeck_power_on()) { LOG_E(TAG, "Power on failed"); return ERROR_RESOURCE; } return ERROR_NONE; } static error_t stop() { return ERROR_NONE; } Module lilygo_tdeck_plus_module = { .name = "lilygo-tdeck-plus", .start = start, .stop = stop, }; }