PortaRF battery fix (#2809)

This commit is contained in:
Totoo
2025-10-09 22:29:53 +02:00
committed by GitHub
parent b2331bf818
commit db324a5225
3 changed files with 17 additions and 11 deletions
+1
View File
@@ -29,6 +29,7 @@ namespace battery {
#define BATTERY_MIN_VOLTAGE 3000.0
#define BATTERY_MAX_VOLTAGE 4170.0
#define BATTERY_DESIGN_CAP 2500
#define BATTERY_DESIGN_CAP_PRF 3000
// this will just hold the config and a calculation. also some defines above for the battery management. could be movet to the classes, but it is a bit more readeable i think.
class BatteryManagement {