battery level display fixes
This commit is contained in:
1 parent
9e52874d4b
commit
60391792d1
2 files changed
+10
-8
No files matched your search
+2
-2
@@ -12,10 +12,10 @@
|
||||
#define NO_OF_SAMPLES 64 // we do some multisampling to get better values
|
||||
|
||||
#ifndef BAT_MAX_VOLTAGE
|
||||
#define BAT_MAX_VOLTAGE 4300 // millivolts
|
||||
#define BAT_MAX_VOLTAGE 4200 // millivolts
|
||||
#endif
|
||||
#ifndef BAT_MIN_VOLTAGE
|
||||
#define BAT_MIN_VOLTAGE 3200 // millivolts
|
||||
#define BAT_MIN_VOLTAGE 2800 // millivolts
|
||||
#endif
|
||||
|
||||
uint16_t read_voltage(void);
|
||||
|
||||
Reference in new issue
Block a user