ADD create files for multi tasking and modify the main
This commit is contained in:
4
main.cpp
4
main.cpp
@@ -8,7 +8,7 @@
|
||||
#include "mbed.h" // NOLINT
|
||||
#include "mbed_trace.h"
|
||||
//#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"
|
||||
@@ -23,7 +23,7 @@ int main() {
|
||||
// bikeSystem.start();
|
||||
// bikeSystem.startWithEventQueue();
|
||||
|
||||
static_scheduling_with_event::BikeSystem bikeSystem;
|
||||
multi_tasking::BikeSystem bikeSystem;
|
||||
bikeSystem.start();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user