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.

21 lines
348 B

2 years ago
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. #include "sdk/os/zos.hpp"
  6. //
  7. #define TAG "main"
  8. using namespace iflytop;
  9. using namespace std;
  10. extern void umain();
  11. extern "C" {
  12. void StartDefaultTask(void const* argument) { umain(); }
  13. }
  14. Device device;
  15. void umain() {
  16. device.init();
  17. device.loop();
  18. }