From faf0cfd7d6d44bde052c47be9e981812717556ed Mon Sep 17 00:00:00 2001 From: Wyatt Smith Date: Mon, 15 Jul 2024 13:09:33 -0400 Subject: [PATCH] add default current and voltage meter values --- configs/RRIOT_F722/config.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/configs/RRIOT_F722/config.h b/configs/RRIOT_F722/config.h index b8edf296..49c7089d 100644 --- a/configs/RRIOT_F722/config.h +++ b/configs/RRIOT_F722/config.h @@ -93,6 +93,13 @@ #define MAX7456_SPI_INSTANCE SPI2 #define FLASH_SPI_INSTANCE SPI3 #define BARO_I2C_INSTANCE (I2CDEV_1) + #define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC #define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC +#define DEFAULT_CURRENT_METER_SCALE 400 +#define DEFAULT_CURRENT_METER_OFFSET 0 +#define DEFAULT_VOLTAGE_METER_SCALE 110 +#define DEFAULT_VOLTAGE_METER_DIVIDER 10 +#define DEFAULT_VOLTAGE_METER_MULTIPLIER 1 + #define BEEPER_INVERTED