mirror of
https://github.com/arendst/Tasmota.git
synced 2025-04-24 14:57:16 +00:00
fix potential crash with wrong linker file
This commit is contained in:
parent
1a3bfb2422
commit
d600768d49
@ -952,6 +952,7 @@ void DisplayText(void)
|
||||
extern FS *ufsp;
|
||||
void Display_Text_From_File(const char *file) {
|
||||
File fp;
|
||||
if (!ufsp) return;
|
||||
fp = ufsp->open(file, FS_FILE_READ);
|
||||
if (fp >= 0) {
|
||||
char *savptr = XdrvMailbox.data;
|
||||
|
Loading…
x
Reference in New Issue
Block a user