Implement CardputerPower and improve EstimatedPower driver (#335)

This commit is contained in:
Ken Van Hoeylandt
2025-09-14 15:42:10 +02:00
committed by GitHub
parent d5c94c7a8a
commit ce8ac61d42
9 changed files with 167 additions and 21 deletions
@@ -4,6 +4,7 @@
#include "devices/SdCard.h"
#include "devices/CardputerEncoder.h"
#include "devices/CardputerKeyboard.h"
#include "devices/CardputerPower.h"
#include <lvgl.h>
#include <Tactility/lvgl/LvglSync.h>
@@ -17,7 +18,8 @@ static DeviceVector createDevices() {
createSdCard(),
createDisplay(),
std::make_shared<CardputerKeyboard>(),
std::make_shared<CardputerEncoder>()
std::make_shared<CardputerEncoder>(),
std::make_shared<CardputerPower>()
};
}