reform

MNT Reform: Open Source Portable Computer
Log (Feed) | Files | Refs (Tags) | README

commit a04bdb1252277e5595152afac58ca63622c2e8f7
parent c154e5c92c1dfa6def4d8c8d21bcaf9905de2024
Author: Lukas F. Hartmann <lukas@mntre.com>
Date:   Tue, 16 May 2023 17:32:02 +0200

lpc fw: default to R3 motherboard revision

Diffstat:
Mreform2-lpc-fw/src/boards/reform2/board_reform2.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/reform2-lpc-fw/src/boards/reform2/board_reform2.c b/reform2-lpc-fw/src/boards/reform2/board_reform2.c @@ -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) {