This commit is contained in:
2024-11-19 23:55:25 -05:00
parent d5b7facf36
commit 833191fbd4
8 changed files with 9 additions and 159 deletions

View File

@@ -27,7 +27,8 @@ int draw() {
Paint_Clear(WHITE);
const char *confName = "default";
Paint_DrawString(5, 5, getCode(GoString{confName, strlen(confName)}).p, &Font24, WHITE, BLACK);
GoString confStr = {confName, strlen(confName)};
Paint_DrawString(5, 5, getCode(confStr).p, &Font24, WHITE, BLACK);
DEV_Delay_ms(5000);

View File

@@ -1,14 +0,0 @@
//
// Created by steven on 11/14/2024.
//
#ifndef P2FA_P2FA_H
#define P2FA_P2FA_H
void Handler(int sigNum);
//__declspec(dllexport) void init();
__declspec(dllexport) int draw();
#endif //P2FA_P2FA_H