mirror of https://github.com/FOME-Tech/fome-fw.git
Merge pull request #389 from fpoussin/chibios-update-2
Fixed Posix simulator.
This commit is contained in:
commit
9694a276fa
|
@ -1 +1 @@
|
|||
Subproject commit 5a09c430bb5e38957cb45ca307abaa24e2062eae
|
||||
Subproject commit 4560c4a1463ffe6fe538f9f67e125c78c19f8498
|
|
@ -117,7 +117,13 @@ void initLcdController(void) {
|
|||
}
|
||||
|
||||
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) {
|
||||
|
|
Loading…
Reference in New Issue