FIX kMaxGearSize and reset callback
This commit is contained in:
12
main.cpp
12
main.cpp
@@ -7,8 +7,9 @@
|
||||
|
||||
#include "mbed.h" // NOLINT
|
||||
#include "mbed_trace.h" // NOLINT
|
||||
// #include "static_scheduling_with_event/bike_system.hpp"
|
||||
#include "multi_tasking/bike_system.hpp"
|
||||
// #include "static_scheduling/bike_system.hpp"
|
||||
#include "static_scheduling_with_event/bike_system.hpp"
|
||||
// #include "multi_tasking/bike_system.hpp"
|
||||
|
||||
#if defined(MBED_CONF_MBED_TRACE_ENABLE)
|
||||
#define TRACE_GROUP "MAIN"
|
||||
@@ -21,11 +22,12 @@ int main() {
|
||||
|
||||
// static_scheduling::BikeSystem bikeSystem;
|
||||
// bikeSystem.start();
|
||||
// static_scheduling_with_event::BikeSystem bikeSystem;
|
||||
// bikeSystem.start();
|
||||
|
||||
multi_tasking::BikeSystem bikeSystem;
|
||||
static_scheduling_with_event::BikeSystem bikeSystem;
|
||||
bikeSystem.start();
|
||||
|
||||
// multi_tasking::BikeSystem bikeSystem;
|
||||
// bikeSystem.start();
|
||||
}
|
||||
|
||||
#endif // MBED_TEST_MODE
|
||||
|
||||
Reference in New Issue
Block a user