Skip to content

Commit

Permalink
update after changes to API lib (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
sumnerboy12 authored May 6, 2022
1 parent e82698d commit 88f4a33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/OXRS_Rack32.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -444,10 +444,10 @@ void OXRS_Rack32::loop(void)
// Handle any REST API requests
#if defined(WIFI_MODE)
WiFiClient client = _server.available();
_api.checkWifi(&client);
_api.loop(&client);
#else
EthernetClient client = _server.available();
_api.checkEthernet(&client);
_api.loop(&client);
#endif
}

Expand Down

0 comments on commit 88f4a33

Please sign in to comment.