Re-enable button control and set UiScale::Smallest

This commit is contained in:
Ken Van Hoeylandt 2025-10-13 23:22:42 +02:00
parent d44b75ccea
commit fef864d289

View File

@ -25,13 +25,14 @@ bool initBoot() {
static DeviceVector createDevices() { static DeviceVector createDevices() {
return { return {
getAxp192(), getAxp192(),
// ButtonControl::createTwoButtonControl(37, 39), ButtonControl::createTwoButtonControl(37, 39),
createDisplay() createDisplay()
}; };
} }
extern const Configuration m5stack_stickc_plus = { extern const Configuration m5stack_stickc_plus = {
.initBoot = initBoot, .initBoot = initBoot,
.uiScale = UiScale::Smallest,
.createDevices = createDevices, .createDevices = createDevices,
.i2c = { .i2c = {
i2c::Configuration { i2c::Configuration {