Skip to content
This repository has been archived by the owner on Jul 28, 2024. It is now read-only.

Commit

Permalink
fix plugins, remove dupe
Browse files Browse the repository at this point in the history
  • Loading branch information
xMasterX committed Jul 25, 2023
1 parent e7bdd1b commit b1a43b1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions wii_anal.c
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ int32_t wii_ec_anal(void) {
// ==================== Main event loop ====================

if(state->run) do {
bool redraw = false;
//bool redraw = false;
FuriStatus status = FuriStatusErrorTimeout;

// Wait for a message
Expand Down Expand Up @@ -449,13 +449,13 @@ int32_t wii_ec_anal(void) {

//---------------------------------------------
case EVID_WIIEC: // WiiMote Perhipheral
if(evWiiEC(&msg, state)) redraw = true;
evWiiEC(&msg, state); //) redraw = true;
break;

//---------------------------------------------
case EVID_KEY: // Key events
patBacklight(state);
if(evKey(&msg, state)) redraw = true;
evKey(&msg, state); //) redraw = true;
break;

//---------------------------------------------
Expand All @@ -469,7 +469,7 @@ int32_t wii_ec_anal(void) {
}

// *** Update the GUI screen via the viewport ***
if(redraw) view_port_update(vpp);
view_port_update(vpp);

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

0 comments on commit b1a43b1

Please sign in to comment.