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.
24 lines
381 B
24 lines
381 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" {
|
|
extern void MX_LWIP_Init(void);
|
|
void StartDefaultTask(void const* argument) {
|
|
MX_LWIP_Init();
|
|
umain();
|
|
}
|
|
}
|
|
|
|
Device device;
|
|
void umain() {
|
|
device.init();
|
|
device.loop();
|
|
}
|