File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff 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 );
You can’t perform that action at this time.
0 commit comments