Skip to content

Commit b1a43b1

Browse files
committed
fix plugins, remove dupe
1 parent e7bdd1b commit b1a43b1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

wii_anal.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ int32_t wii_ec_anal(void) {
385385
// ==================== Main event loop ====================
386386

387387
if(state->run) do {
388-
bool redraw = false;
388+
//bool redraw = false;
389389
FuriStatus status = FuriStatusErrorTimeout;
390390

391391
// Wait for a message
@@ -449,13 +449,13 @@ int32_t wii_ec_anal(void) {
449449

450450
//---------------------------------------------
451451
case EVID_WIIEC: // WiiMote Perhipheral
452-
if(evWiiEC(&msg, state)) redraw = true;
452+
evWiiEC(&msg, state); //) redraw = true;
453453
break;
454454

455455
//---------------------------------------------
456456
case EVID_KEY: // Key events
457457
patBacklight(state);
458-
if(evKey(&msg, state)) redraw = true;
458+
evKey(&msg, state); //) redraw = true;
459459
break;
460460

461461
//---------------------------------------------
@@ -469,7 +469,7 @@ int32_t wii_ec_anal(void) {
469469
}
470470

471471
// *** Update the GUI screen via the viewport ***
472-
if(redraw) view_port_update(vpp);
472+
view_port_update(vpp);
473473

474474
// *** Try to release the plugin state variables ***
475475
furi_mutex_release(state->mutex);

0 commit comments

Comments
 (0)