Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust lower bound for evaluating battery charge for R1 #514

Merged
merged 1 commit into from
Sep 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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