Skip to content
Snippets Groups Projects
Commit a04bdb12 authored by minute's avatar minute
Browse files

lpc fw: default to R3 motherboard revision

parent c154e5c9
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,7 @@
#define REFORM_MBREV_25_R1 25 // motherboard 2.5
// don't forget to set this to the correct rev for your motherboard!
#define REFORM_MOTHERBOARD_REV REFORM_MBREV_25_R1
#define REFORM_MOTHERBOARD_REV REFORM_MBREV_R3
//#define REF2_DEBUG 1
#define FW_STRING1 "MREF2LPC"
#define FW_STRING2 "R4"
......@@ -729,7 +729,7 @@ void handle_commands() {
// get charger system state
if (state == ST_CHARGE) {
sprintf(uartBuffer,FW_REV"normal,%f\r",current); //,min_mah,acc_mah);
sprintf(uartBuffer,FW_REV"normal,%d,%d,%d\r",cycles_in_state,min_mah,acc_mah);
} else if (state == ST_OVERVOLTED) {
sprintf(uartBuffer,FW_REV"balancing,%d,%d,%d\r",cycles_in_state,min_mah,acc_mah);
} else if (state == ST_COOLDOWN) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment