sdcard picomite: sync with upstream

This commit is contained in:
Yatao Li
2025-06-15 21:31:45 +08:00
parent f305e6def6
commit eb3b15e188
37 changed files with 3695 additions and 449 deletions

View File

@@ -508,8 +508,8 @@ typedef enum {
MMCMDLINE,
#ifdef PICOMITEWEB
MMMESSAGE,
MMTOPIC,
MMADDRESS,
MMTOPIC,
#endif
MMFLAG,
MMDISPLAY,
@@ -575,16 +575,16 @@ typedef enum {
Mstrcpy(sret,messagebuff);
targ=T_STR;
break;
case MMTOPIC:
sret = GetTempMemory(STRINGSIZE); // this will last for the life of the command
Mstrcpy(sret,topicbuff);
targ=T_STR;
break;
case MMADDRESS:
sret = GetTempMemory(STRINGSIZE); // this will last for the life of the command
Mstrcpy(sret,addressbuff);
targ=T_STR;
break;
case MMTOPIC:
sret = GetTempMemory(STRINGSIZE); // this will last for the life of the command
Mstrcpy(sret,topicbuff);
targ=T_STR;
break;
#endif
case MMFLAG:
iret=g_flag;