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
20 lines
322 B
#include <stddef.h>
|
|
#include <stdio.h>
|
|
|
|
#include "device.hpp"
|
|
#include "project_configs.h"
|
|
//
|
|
#define TAG "main"
|
|
using namespace iflytop;
|
|
using namespace std;
|
|
|
|
extern void umain();
|
|
extern "C" {
|
|
void StartDefaultTask(void const* argument) { umain(); }
|
|
}
|
|
|
|
Device device;
|
|
void umain() {
|
|
device.init();
|
|
device.loop();
|
|
}
|