add board.setAdcMultiplier to room server and sensor

This commit is contained in:
taco
2025-11-21 21:46:55 +11:00
parent 5a3ea64a97
commit e13c064487
2 changed files with 4 additions and 0 deletions

View File

@@ -641,6 +641,8 @@ void MyMesh::begin(FILESYSTEM *fs) {
updateAdvertTimer(); updateAdvertTimer();
updateFloodAdvertTimer(); updateFloodAdvertTimer();
board.setAdcMultiplier(_prefs.adc_multiplier);
#if ENV_INCLUDE_GPS == 1 #if ENV_INCLUDE_GPS == 1
applyGpsPrefs(); applyGpsPrefs();
#endif #endif

View File

@@ -740,6 +740,8 @@ void SensorMesh::begin(FILESYSTEM* fs) {
updateAdvertTimer(); updateAdvertTimer();
updateFloodAdvertTimer(); updateFloodAdvertTimer();
board.setAdcMultiplier(_prefs.adc_multiplier);
#if ENV_INCLUDE_GPS == 1 #if ENV_INCLUDE_GPS == 1
applyGpsPrefs(); applyGpsPrefs();
#endif #endif