removing unused parameter
This commit is contained in:
parent
d96bfb5302
commit
cf86a0fe4c
|
@ -644,7 +644,7 @@ static void lcdThread(void *arg) {
|
|||
while (true) {
|
||||
if (engineConfiguration->bc.useLcdScreen) {
|
||||
#if EFI_HD44780_LCD
|
||||
updateHD44780lcd(engine);
|
||||
updateHD44780lcd();
|
||||
#endif
|
||||
}
|
||||
chThdSleepMilliseconds(engineConfiguration->bc.lcdThreadPeriod);
|
||||
|
|
|
@ -116,7 +116,7 @@ void initLcdController(void) {
|
|||
msObjectInit(&lcdLineStream, (uint8_t *) lcdLineBuffer, sizeof(lcdLineBuffer), 0);
|
||||
}
|
||||
|
||||
static char * prepareVBattMapLine(engine_configuration_s *engineConfiguration, char *buffer) {
|
||||
static char * prepareVBattMapLine(char *buffer) {
|
||||
char *ptr = buffer;
|
||||
*ptr++ = 'V';
|
||||
ptr = ftoa(ptr, getVBatt(PASS_ENGINE_PARAMETER_F), 10.0f);
|
||||
|
@ -126,7 +126,7 @@ static char * prepareVBattMapLine(engine_configuration_s *engineConfiguration, c
|
|||
return ptr;
|
||||
}
|
||||
|
||||
static char * prepareCltIatTpsLine(Engine *engine, char *buffer) {
|
||||
static char * prepareCltIatTpsLine(char *buffer) {
|
||||
char *ptr = buffer;
|
||||
*ptr++ = 'C';
|
||||
|
||||
|
@ -321,7 +321,7 @@ static void fillWithSpaces(void) {
|
|||
}
|
||||
}
|
||||
|
||||
void updateHD44780lcd(Engine *engine) {
|
||||
void updateHD44780lcd(void) {
|
||||
MenuItem *p = tree.topVisible;
|
||||
int screenY = 0;
|
||||
for (; screenY < tree.linesCount && p != NULL; screenY++) {
|
||||
|
|
|
@ -13,6 +13,6 @@
|
|||
#define MAX_LCD_WIDTH 20
|
||||
|
||||
void initLcdController(void);
|
||||
void updateHD44780lcd(Engine *engine);
|
||||
void updateHD44780lcd(void);
|
||||
|
||||
#endif /* LCD_CONTROLLER_H_ */
|
||||
|
|
Loading…
Reference in New Issue