Skip to content

Commit

Permalink
Style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
loostrum committed Feb 9, 2024
1 parent ee76eed commit a18c989
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions host/src/PowerSensor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -557,11 +557,10 @@ namespace PowerSensor3 {
* @param dfuMode
*/
void PowerSensor::reset(bool dfuMode) {
stopIOThread(); // to avoid writing to device _after_ reset
stopIOThread(); // to avoid writing to device _after_ reset
if (dfuMode) {
writeCharToDevice('Y');
}
else {
} else {
writeCharToDevice('Z');
}
}
Expand Down

0 comments on commit a18c989

Please sign in to comment.