Skip to content

Commit

Permalink
Adjust lower bound for evaluating battery charge for R1
Browse files Browse the repository at this point in the history
  • Loading branch information
MSECode authored and valegagge committed Sep 18, 2024
1 parent fa7f652 commit 49a2f90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions emBODY/eBcode/arch-arm/board/bat/BAT_Rev_B/Src/BAT_B.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

char Firmware_vers = 1;
char Revision_vers = 3;
char Build_number = 4;
char Build_number = 5;

uint32_t vtol=100; // voltage tolerance for hysteresis
uint32_t vhyst=0; // voltage hysteresis
Expand Down Expand Up @@ -102,7 +102,7 @@ __IO ITStatus UartReady = RESET;
#ifdef BAT_B_R1
uint32_t VTH[7]={23000, 24000, 25000, 26000, 27000, 28000, 29000}; // threshold in mV R1 Battery
uint16_t Battery_high=4200*7; // 7s5p battery
uint16_t Battery_low=3300*7; // 7s5p battery
uint16_t Battery_low=3000*7; // 7s5p battery
#endif

#ifdef BAT_B_Generic
Expand Down

0 comments on commit 49a2f90

Please sign in to comment.