Skip to content

Commit

Permalink
use formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
tildezero committed Oct 4, 2024
1 parent 33921f5 commit ce572c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ut-robomaster/src/drivers.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ class Drivers : public tap::Drivers
bool isKillSwitched() { return !remote.isConnected(); }
bool isGameActive()
{
// gamestage 4 is IN_GAME
return this->refSerial.getGameData().gameStage == tap::communication::serial::RefSerialData::Rx::GameStage::IN_GAME;
return this->refSerial.getGameData().gameStage ==
tap::communication::serial::RefSerialData::Rx::GameStage::IN_GAME;
}
}; // class Drivers

Expand Down

0 comments on commit ce572c1

Please sign in to comment.