Fix compile errors

This commit is contained in:
Jeff committed 2024-06-22 13:22:21 +02:00
1 parent 51e8efc6a5
commit 11ebd537d8
3 files changed
+3 -1

No files matched your search

+1 -1
View File
@@ -232,7 +232,7 @@ u8 nextToken(char** inPtr, void** val) {
if (!memcmp(t.strToken, in, (t.strToken[1] == '\0') ? 1 : 2)) { if (!memcmp(t.strToken, in, (t.strToken[1] == '\0') ? 1 : 2)) {
//gfx_printf("Token: '%s'\n", t.strToken); //gfx_printf("Token: '%s'\n", t.strToken);
ret = Token_Token; ret = Token_Token;
*val = t.token; *val = (void*)t.token;
if (t.strToken[1] != '\0') if (t.strToken[1] != '\0')
in++; in++;
+1
View File
@@ -1,6 +1,7 @@
#include "scriptError.h" #include "scriptError.h"
#include "compat.h" #include "compat.h"
#include <stdarg.h> #include <stdarg.h>
#include "../hid/hid.h"
s64 scriptCurrentLine; s64 scriptCurrentLine;
u8 scriptLastError = 0; u8 scriptLastError = 0;
+1
View File
@@ -18,6 +18,7 @@
#include <string.h> #include <string.h>
#include "../fs/fscopy.h" #include "../fs/fscopy.h"
#include "../utils/utils.h" #include "../utils/utils.h"
#include <display/di.h>
extern sdmmc_storage_t sd_storage; extern sdmmc_storage_t sd_storage;
extern bool is_sd_inited; extern bool is_sd_inited;