Skip to content

Commit

Permalink
Style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
loostrum committed Nov 18, 2024
1 parent c882758 commit 2922929
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions device/PowerSensor/PowerSensor.ino
Original file line number Diff line number Diff line change
Expand Up @@ -253,8 +253,8 @@ void serialEvent() {
// in demo mode the display is always enabled so no need to reinitialize it here
// if streaming was enabled, first wait until all markers are sent
if (streamValues) {
while(sendMarkers > 0) delay(1);
while(!sendData) delay(1);
while (sendMarkers > 0) delay(1);
while (!sendData) delay(1);
}
streamValues = false;
#if !defined NODISPLAY && !defined DEMO
Expand All @@ -266,8 +266,8 @@ void serialEvent() {
// Shutdown and unpause display, shuts off IO thread on host
// if streaming was enabled, first wait until all markers are sent
if (streamValues) {
while(sendMarkers > 0) delay(1);
while(!sendData) delay(1);
while (sendMarkers > 0) delay(1);
while (!sendData) delay(1);
}
#ifndef NODISPLAY
displayPaused = false;
Expand Down

0 comments on commit 2922929

Please sign in to comment.