Skip to content

Commit

Permalink
Inline in drive
Browse files Browse the repository at this point in the history
Signed-off-by: Alberto Tudela <ajtudela@gmail.com>
  • Loading branch information
ajtudela committed Apr 19, 2024
1 parent e485245 commit 1508506
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scitos2_modules/include/scitos2_modules/drive.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ class Drive : public scitos2_core::Module
* @param code Rfid code
* @return bool If the code is a barrier code
*/
bool isBarrierCode(uint64 code) {return code == MAGNETIC_BARRIER_RFID_CODE;}
inline bool isBarrierCode(uint64 code) {return code == MAGNETIC_BARRIER_RFID_CODE;}

/**
* @brief Reset tje motor stop if the bumper is activated after a certain time.
Expand Down

0 comments on commit 1508506

Please sign in to comment.