add init value for pikaMain, fix loong arch hard fault

This commit is contained in:
pikastech 2021-12-13 01:35:26 +08:00
parent ef4844568e
commit ca96548db8

View File

@ -18,7 +18,7 @@
#define RX_Buff_SIZE 256
char rxBuff[RX_Buff_SIZE] = { 0 };
PikaObj *pikaMain;
PikaObj *pikaMain = 0;
uint8_t pika_is_inited = 0;
void clearBuff(char *buff, uint32_t size);