mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-03 13:28:44 +00:00
Rename mg_ -> miot_ under fw
`MG_ENABLE_...` macros are not yet renamed because it involves some logic change: e.g. instead of defining `MG_ENABLE_MQTT`, one should define `MIOT_ENABLE_MQTT`, which should imply `MG_ENABLE_MQTT` as well. Macro refactoring is going to be done in another PR. PUBLISHED_FROM=f8b66d5772846126b94223a729a6bd87897f8de6
This commit is contained in:
1 parent
8a6cf95fad
commit
0ceee1dc05
4 files changed
+8
-8
No files matched your search
@@ -10,7 +10,7 @@
|
||||
// #define WIFI_STA_SSID "YourWiFi"
|
||||
// #define WIFI_STA_PASS "YourPass"
|
||||
|
||||
#define MG_TASK_PRIORITY 3
|
||||
#define MIOT_TASK_PRIORITY 3
|
||||
#define MG_TASK_STACK_SIZE 8192
|
||||
|
||||
#include <stdbool.h>
|
||||
@@ -214,7 +214,7 @@ int main(void) {
|
||||
LOG(LL_ERROR, ("Failed to create SL task"));
|
||||
}
|
||||
|
||||
if (!mg_start_task(MG_TASK_PRIORITY, MG_TASK_STACK_SIZE, mg_init)) {
|
||||
if (!mg_start_task(MIOT_TASK_PRIORITY, MG_TASK_STACK_SIZE, mg_init)) {
|
||||
LOG(LL_ERROR, ("Failed to create MG task"));
|
||||
}
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
#define CONSOLE_BAUD_RATE 115200
|
||||
#define CONSOLE_UART UARTA0_BASE
|
||||
#define CONSOLE_UART_PERIPH PRCM_UARTA0
|
||||
#define MG_TASK_PRIORITY 3
|
||||
#define MIOT_TASK_PRIORITY 3
|
||||
#define MG_TASK_STACK_SIZE 8192
|
||||
|
||||
#define BM222_ADDR 0x18
|
||||
@@ -264,7 +264,7 @@ int main(void) {
|
||||
LOG(LL_ERROR, ("Failed to create SL task"));
|
||||
}
|
||||
|
||||
if (!mg_start_task(MG_TASK_PRIORITY, MG_TASK_STACK_SIZE, mg_init)) {
|
||||
if (!mg_start_task(MIOT_TASK_PRIORITY, MG_TASK_STACK_SIZE, mg_init)) {
|
||||
LOG(LL_ERROR, ("Failed to create MG task"));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user