commit c125ba8dc4e890aee7c6cc61ffa95b0f90e3e766 parent 192d52879fcd3c4093040795dadecf10f7e36a94 Author: Lukas F. Hartmann <lukas@mntre.com> Date: Tue, 9 Mar 2021 14:58:14 +0100 lpc: fix mA sign type Diffstat:
M | reform2-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 @@ -697,10 +697,10 @@ void handle_commands() { } int mA = (int)(current*1000.0); - char mA_sign = " "; + char mA_sign = ' '; if (mA<0) { mA = -mA; - mA_sign = "-"; + mA_sign = '-'; } int mV = (int)(volts*1000.0);