Fix some compiler lint for esp8266

This commit is contained in:
Pim van Pelt
2017-12-21 22:38:23 +01:00
parent 4b4642416f
commit 44a84dd1bc
3 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,6 @@ static void widget_default_draw(struct widget_t *w, uint16_t color) {
void screen_add_default_widgets(struct screen_t *screen) {
struct widget_t *w;
uint16_t screen_width = mgos_ili9341_get_screenWidth();
uint16_t screen_height = mgos_ili9341_get_screenHeight();
if (!screen)
return;