eive-obsw/bsp_q7s/main.cpp

21 lines
304 B
C++
Raw Normal View History

2021-06-30 15:18:41 +02:00
#include "q7sConfig.h"
2020-09-30 17:17:01 +02:00
2021-06-30 15:18:41 +02:00
#if Q7S_SIMPLE_MODE == 0
#include "core/obsw.h"
#else
#include "simple/simple.h"
#endif
2020-09-16 16:22:36 +02:00
/**
2020-11-20 18:30:15 +01:00
* @brief This is the main program for the target hardware.
2020-09-16 16:22:36 +02:00
* @return
*/
int main(void)
{
2021-06-30 15:18:41 +02:00
#if Q7S_SIMPLE_MODE == 0
return obsw::obsw();
2021-05-12 17:01:11 +02:00
#else
2021-06-30 15:18:41 +02:00
return simple::simple();
2021-05-12 17:01:11 +02:00
#endif
2020-09-16 16:22:36 +02:00
}