|
@@ -2436,7 +2436,7 @@ void setTextToEmpty(uint8_t gun_index)
|
|
|
memset(data, 0x00, ARRAY_SIZE(data));
|
|
|
memset(text_empty, 0x00, ARRAY_SIZE(text_empty));
|
|
|
|
|
|
- strcpy((char*)text_empty, " ");
|
|
|
+ strcpy((char*)text_empty, " ");
|
|
|
string2ByteArray(text_empty, data);
|
|
|
|
|
|
lcdRegisterWrite(Uart1Fd, REG_TYPE_RAM, TEXT_CHARGING_TOTAL_COST, data, ARRAY_SIZE(data));
|
|
@@ -2700,7 +2700,7 @@ void setClearPrechargingValueToEmpty()
|
|
|
memset(data, 0x00, ARRAY_SIZE(data));
|
|
|
memset(text, 0x00, ARRAY_SIZE(text));
|
|
|
|
|
|
- strcpy((char*)text, " ");
|
|
|
+ strcpy((char*)text, " ");
|
|
|
string2ByteArray(text, data);
|
|
|
|
|
|
lcdRegisterWrite(Uart1Fd, REG_TYPE_RAM, TEXT_PRECHARGING_TIMER, data, ARRAY_SIZE(data));
|