mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-25 01:41:43 +00:00
Make C++ examples able to run GradleRIO unit tests (#1490)
Closes #1484
This commit is contained in:
committed by
Peter Johnson
parent
d84240d8e9
commit
6e8f8be370
@@ -80,4 +80,6 @@ class Robot : public frc::TimedRobot {
|
||||
frc::Encoder m_encoder{1, 2, false, frc::Encoder::k4X};
|
||||
};
|
||||
|
||||
#ifndef RUNNING_FRC_TESTS
|
||||
int main() { return frc::StartRobot<Robot>(); }
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user