Fixes for chprint, updating submodule to use our custom version.
This commit is contained in:
parent
8f9a910aec
commit
27fb33ebd3
|
@ -1 +1 @@
|
||||||
Subproject commit 3619aac78fcf83f102df27bdf47a6e349aebc4aa
|
Subproject commit 4560c4a1463ffe6fe538f9f67e125c78c19f8498
|
|
@ -117,7 +117,13 @@ void initLcdController(void) {
|
||||||
}
|
}
|
||||||
|
|
||||||
static char * prepareVBattMapLine(engine_configuration_s *engineConfiguration, char *buffer) {
|
static char * prepareVBattMapLine(engine_configuration_s *engineConfiguration, char *buffer) {
|
||||||
return buffer + chsnprintf(buffer, 23,"V%10.0f M%10.0f", getVBatt(PASS_ENGINE_PARAMETER_F), getRawMap());
|
char *ptr = buffer;
|
||||||
|
*ptr++ = 'V';
|
||||||
|
ptr = ftoa(ptr, getVBatt(PASS_ENGINE_PARAMETER_F), 10.0f);
|
||||||
|
|
||||||
|
ptr = appendStr(ptr, " M");
|
||||||
|
ptr = ftoa(ptr, getRawMap(), 10.0f);
|
||||||
|
return ptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
static char * prepareCltIatTpsLine(Engine *engine, char *buffer) {
|
static char * prepareCltIatTpsLine(Engine *engine, char *buffer) {
|
||||||
|
|
Loading…
Reference in New Issue