Change Solar factor for Revision 0.10

This commit is contained in:
Ollo 2024-04-20 12:51:33 +02:00
parent d2f1605b90
commit dd3888ba52

View File

@ -127,7 +127,7 @@
#define FIRMWARE_BASENAME "PlantControl" #define FIRMWARE_BASENAME "PlantControl"
#define FIRMWARE_NAME FIRMWARE_BASENAME FIRMWARE_FEATURE1 FIRMWARE_FEATURE2 #define FIRMWARE_NAME FIRMWARE_BASENAME FIRMWARE_FEATURE1 FIRMWARE_FEATURE2
#define FIRMWARE_VERSIONNMUMBER "3.002" #define FIRMWARE_VERSIONNMUMBER "3.010"
#ifdef HWREVISION07 #ifdef HWREVISION07
#define FIRMWARE_VERSION FIRMWARE_VERSIONNMUMBER " HW0.7" #define FIRMWARE_VERSION FIRMWARE_VERSIONNMUMBER " HW0.7"
@ -144,7 +144,7 @@
#ifdef HWREVISION07 #ifdef HWREVISION07
#define SOLAR_VOLT_FACTOR (4.0306f) /**< 100k and 33k voltage dividor */ #define SOLAR_VOLT_FACTOR (4.0306f) /**< 100k and 33k voltage dividor */
#else #else
#define SOLAR_VOLT_FACTOR 11.0f #define SOLAR_VOLT_FACTOR (22.0f)
#endif #endif
#define BATTSENSOR_INDEX_SOLAR 0 #define BATTSENSOR_INDEX_SOLAR 0
#define BATTSENSOR_INDEX_BATTERY 1 #define BATTSENSOR_INDEX_BATTERY 1