modbus_tcp
remove unused return variable and redundant comments
This commit is contained in:
@@ -111,9 +111,9 @@ static err_t modbus_incoming_data(void* arg, struct tcp_pcb* pcb, struct pbuf* p
|
||||
LOG_CRIT(TAG, "No valid extension found");
|
||||
}
|
||||
if (strcmp(ext, ".gif") == 0) {
|
||||
lcd_gif_t* gif = lcd_draw_gif_from_fs(file_list[registers[REG_IMAGE_NR] - 1].name, 0, 75); // GIF on screen
|
||||
lcd_draw_gif_from_fs(file_list[registers[REG_IMAGE_NR] - 1].name, 0, 75);
|
||||
} else if (strcmp(ext, ".bmp") == 0) {
|
||||
lcd_draw_img_from_fs(file_list[registers[REG_IMAGE_NR] - 1].name, 0, 75); // BMP on screen
|
||||
lcd_draw_img_from_fs(file_list[registers[REG_IMAGE_NR] - 1].name, 0, 75);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user