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) { while (true) {
if (engineConfiguration->bc.useLcdScreen) { if (engineConfiguration->bc.useLcdScreen) {
#if EFI_HD44780_LCD #if EFI_HD44780_LCD
updateHD44780lcd(engine); updateHD44780lcd();
#endif #endif
} }
chThdSleepMilliseconds(engineConfiguration->bc.lcdThreadPeriod); chThdSleepMilliseconds(engineConfiguration->bc.lcdThreadPeriod);

View File

@ -116,7 +116,7 @@ void initLcdController(void) {
msObjectInit(&lcdLineStream, (uint8_t *) lcdLineBuffer, sizeof(lcdLineBuffer), 0); 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; char *ptr = buffer;
*ptr++ = 'V'; *ptr++ = 'V';
ptr = ftoa(ptr, getVBatt(PASS_ENGINE_PARAMETER_F), 10.0f); ptr = ftoa(ptr, getVBatt(PASS_ENGINE_PARAMETER_F), 10.0f);
@ -126,7 +126,7 @@ static char * prepareVBattMapLine(engine_configuration_s *engineConfiguration, c
return ptr; return ptr;
} }
static char * prepareCltIatTpsLine(Engine *engine, char *buffer) { static char * prepareCltIatTpsLine(char *buffer) {
char *ptr = buffer; char *ptr = buffer;
*ptr++ = 'C'; *ptr++ = 'C';
@ -321,7 +321,7 @@ static void fillWithSpaces(void) {
} }
} }
void updateHD44780lcd(Engine *engine) { void updateHD44780lcd(void) {
MenuItem *p = tree.topVisible; MenuItem *p = tree.topVisible;
int screenY = 0; int screenY = 0;
for (; screenY < tree.linesCount && p != NULL; screenY++) { for (; screenY < tree.linesCount && p != NULL; screenY++) {

View File

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