Tweaks
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
14
c/src/p2fa.h
14
c/src/p2fa.h
@@ -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
|
||||
Reference in New Issue
Block a user