removing unused parameter

This commit is contained in:
rusefi 2017-05-08 08:15:46 -04:00
parent d34dc00a8a
commit bd87b5e4f5
3 changed files with 5 additions and 5 deletions

View File

@ -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);

View File

@ -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++) {

View File

@ -13,6 +13,6 @@
#define MAX_LCD_WIDTH 20
void initLcdController(void);
void updateHD44780lcd(Engine *engine);
void updateHD44780lcd(void);
#endif /* LCD_CONTROLLER_H_ */