You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
322 B

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
  1. #include <stddef.h>
  2. #include <stdio.h>
  3. #include "device.hpp"
  4. #include "project_configs.h"
  5. //
  6. #define TAG "main"
  7. using namespace iflytop;
  8. using namespace std;
  9. extern void umain();
  10. extern "C" {
  11. void StartDefaultTask(void const* argument) { umain(); }
  12. }
  13. Device device;
  14. void umain() {
  15. device.init();
  16. device.loop();
  17. }