mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
add board.setAdcMultiplier to room server and sensor
This commit is contained in:
parent
5a3ea64a97
commit
e13c064487
2 changed files with 4 additions and 0 deletions
|
|
@ -641,6 +641,8 @@ void MyMesh::begin(FILESYSTEM *fs) {
|
|||
updateAdvertTimer();
|
||||
updateFloodAdvertTimer();
|
||||
|
||||
board.setAdcMultiplier(_prefs.adc_multiplier);
|
||||
|
||||
#if ENV_INCLUDE_GPS == 1
|
||||
applyGpsPrefs();
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -740,6 +740,8 @@ void SensorMesh::begin(FILESYSTEM* fs) {
|
|||
updateAdvertTimer();
|
||||
updateFloodAdvertTimer();
|
||||
|
||||
board.setAdcMultiplier(_prefs.adc_multiplier);
|
||||
|
||||
#if ENV_INCLUDE_GPS == 1
|
||||
applyGpsPrefs();
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue