FIX kMaxGearSize and reset callback

This commit is contained in:
fastium
2025-01-07 00:35:20 +01:00
parent a183ad4858
commit e460a4f695
6 changed files with 16 additions and 13 deletions

View File

@@ -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