diff --git a/README.md b/README.md index b0505d6ee..35c76482a 100755 --- a/README.md +++ b/README.md @@ -375,7 +375,7 @@ void Init() } ``` -Firstly, you should call the setCalBack interface, and secondly, the Mars.init. Then, to initialize the Mars, there is to need to strictly follow the orders of the four commands. Finally, after Mars are initialized, onForeground and makesureLongLinkConnect can be called. +Firstly, you should call the setCallBack interface, and secondly, the Mars.init. Then, to initialize the Mars, there is to need to strictly follow the orders of the four commands. Finally, after Mars are initialized, onForeground and makesureLongLinkConnect can be called. If you want to destroy STN or exit App: diff --git a/mars/comm/platform_comm.h b/mars/comm/platform_comm.h index ae0040ac4..21dc8cfed 100644 --- a/mars/comm/platform_comm.h +++ b/mars/comm/platform_comm.h @@ -219,7 +219,7 @@ void SetWiFiIdCallBack(std::function _cb); void ResetWiFiIdCallBack(); inline int getCurrNetLabel(std::string& netInfo) { - netInfo = "defalut"; + netInfo = "default"; int netId = getNetInfo(); if (netId == kNoNet) {