fix: add extern C support c++

This commit is contained in:
Alex Duan 2024-10-27 19:33:58 +08:00
parent 2803d51797
commit 90642f4dc2
1 changed files with 7 additions and 0 deletions

View File

@ -16,6 +16,10 @@
#ifndef __SHELL_AUTO__
#define __SHELL_AUTO__
#ifdef __cplusplus
extern "C" {
#endif
#include "shellInt.h"
#define TAB_KEY 0x09
@ -54,5 +58,8 @@ void showHelp();
bool fieldOptionsArea(char* p);
bool isCreateFieldsArea(char* p);
#ifdef __cplusplus
}
#endif
#endif