Fix main c fie
This commit is contained in:
parent
0eff928c47
commit
fdceac9441
@ -45,7 +45,7 @@ JETSON: JETSON_DEV JETSON_epd
|
||||
TARGET = epd
|
||||
CC = gcc
|
||||
MSG = -g -O -ffunction-sections -fdata-sections -Wall
|
||||
CFLAGS += $(MSG) -D $(EPD)
|
||||
CFLAGS += $(MSG)
|
||||
|
||||
RPI_epd:${OBJ_O}
|
||||
echo $(@)
|
||||
|
@ -18,8 +18,9 @@ void Handler(int sigNum) {
|
||||
exit(0);
|
||||
}
|
||||
|
||||
__declspec(dllexport) void init() {
|
||||
int main() {
|
||||
signal(SIGINT, Handler);
|
||||
return 0;
|
||||
}
|
||||
|
||||
__declspec(dllexport) int draw() {
|
||||
|
@ -5,8 +5,10 @@
|
||||
#ifndef P2FA_P2FA_H
|
||||
#define P2FA_P2FA_H
|
||||
|
||||
#endif //P2FA_P2FA_H
|
||||
void Handler(int sigNum);
|
||||
|
||||
__declspec(dllexport) void init();
|
||||
//__declspec(dllexport) void init();
|
||||
|
||||
__declspec(dllexport) int draw();
|
||||
|
||||
#endif //P2FA_P2FA_H
|
||||
|
Loading…
Reference in New Issue
Block a user