mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
Use units for new NotifierCommand (#1869)
This commit is contained in:
@@ -20,7 +20,7 @@ TEST_F(NotifierCommandTest, NotifierCommandScheduleTest) {
|
||||
|
||||
int counter = 0;
|
||||
|
||||
NotifierCommand command([&counter] { counter++; }, 0.01, {});
|
||||
NotifierCommand command([&counter] { counter++; }, 0.01_s, {});
|
||||
|
||||
scheduler.Schedule(&command);
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(250));
|
||||
|
||||
Reference in New Issue
Block a user