mirror of
https://github.com/pelgraine/Meck.git
synced 2026-08-06 08:42:48 +02:00
df00c435f9
Three build failures, all mine: 1. XPowersLib access. setPowerChannelVoltage, enable/disablePowerOutput and isPowerChannelEnable are protected on XPowersAXP2101 and public only on XPowersLibInterface, so holding the PMU as the concrete type made every rail call illegal. The board now keeps both pointers to the same object: PMU (interface) for the channel ops, _axp (concrete) for setIrqLevelTime and the PWRON press/release edges, which the interface does not declare. Verified against XPowersLib v0.2.9, the version ^0.2.7 resolves to. 2. ENV_INCLUDE_GPS. sensor_base defaults it to 1. The variant zeroed every other ENV_INCLUDE_* but not that one, so gpsStream, board.gpsPowerOn/Off and the GPS home page were all still compiled in. Now -D ENV_INCLUDE_GPS=0. 3. GPS_BAUDRATE is referenced unguarded by MyMesh.cpp's gps.baud CLI command. variant.h now supplies the same #ifndef fallback the T5S3 variant uses. Also renames the S3 Plus envs to meck_twatch_s3_plus_standalone and meck_twatch_s3_plus_ble, so they no longer read as the generic watch build. Nothing outside variants/lilygo_twatch_s3_plus/platformio.ini referenced the old names.