mqtt独立,不使用也可以正常运行

This commit is contained in:
james 2024-08-10 18:39:16 +08:00
parent 0d1310d5a6
commit f3ce54d40d
1 changed files with 2 additions and 2 deletions

View File

@ -360,7 +360,7 @@ void mqt_init(void)
rt_kprintf("MQTT Thread Create Failed!\n");
}
}
// MSH_CMD_EXPORT_ALIAS(mqt_init, mqtt, run my mqtt);
MSH_CMD_EXPORT_ALIAS(mqt_init, mqtt, run my mqtt);
int ap3_init(void)
{
const char *i2c_bus_name = "i2c2";
@ -427,7 +427,7 @@ void my_project(void)
ath_init();
mqt_init();
// mqt_init();
ap3_init();