move radiolib wrappers to dedicated directory

This commit is contained in:
recrof
2025-07-13 11:37:33 +02:00
parent 854a8dfe2f
commit 6be8e19a9f
51 changed files with 82 additions and 84 deletions

View File

@@ -2,9 +2,9 @@
#define RADIOLIB_STATIC_ONLY 1
#include <RadioLib.h>
#include <helpers/RadioLibWrappers.h>
#include <helpers/radiolib/RadioLibWrappers.h>
#include <helpers/stm32/STM32Board.h>
#include <helpers/CustomSTM32WLxWrapper.h>
#include <helpers/radiolib/CustomSTM32WLxWrapper.h>
#include <helpers/ArduinoHelpers.h>
#include <helpers/SensorManager.h>
@@ -22,7 +22,7 @@ public:
uint32_t raw = 0;
for (int i=0; i<8;i++) {
raw += analogRead(PIN_VBAT_READ);
}
}
return ((double)raw) * ADC_MULTIPLIER / 8 / 4096;
}
};