Skip to content

Commit f96c06f

Browse files
committed
Fixes for ufbt
1 parent 5128e43 commit f96c06f

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

helpers/flipchess_file.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#include "flipchess_file.h"
22
#include <storage/storage.h>
3-
#include <applications.h>
43
#include <loader/loader.h>
54

65
// #define FLIPCHESS_APP_BASE_FOLDER APP_BOARDA_PATH("flipchess")

sam/stm32_sam.cpp

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5400,15 +5400,14 @@ void STM32SAM::sam(
54005400
}
54015401
}
54025402

5403+
if(i < 256) {
5404+
input[i] = phonetic ? '\x9b' : '[';
5405+
}
5406+
54035407
if(!phonetic) {
5404-
strncat(input, "[", 256);
54055408
if(!TextToPhonemes((unsigned char*)input)) {
5406-
// PrintUsage();
54075409
return;
54085410
}
5409-
5410-
} else {
5411-
strncat(input, "\x9b", 256);
54125411
}
54135412

54145413
SetInput(input);

0 commit comments

Comments
 (0)