mirror of
https://github.com/m5stack/StackChan.git
synced 2026-04-27 19:12:40 +00:00
update firmware source code to v0.18 (#9)
This commit is contained in:
@@ -9,6 +9,8 @@
|
||||
#include <mooncake_log.h>
|
||||
#include <assets/assets.h>
|
||||
#include <smooth_lvgl.hpp>
|
||||
#include <stackchan/stackchan.h>
|
||||
#include <apps/common/common.h>
|
||||
|
||||
using namespace mooncake;
|
||||
using namespace smooth_ui_toolkit::lvgl_cpp;
|
||||
@@ -36,7 +38,9 @@ void AppAiAgent::onOpen()
|
||||
{
|
||||
mclog::tagInfo(getAppInfo().name, "on open");
|
||||
|
||||
GetHAL().startXiaozhi();
|
||||
// Request to start Xiaozhi service
|
||||
// All apps will be uninstall in next mooncake update
|
||||
GetHAL().requestXiaozhiStart();
|
||||
}
|
||||
|
||||
// Called repeatedly while the App is running
|
||||
|
||||
Reference in New Issue
Block a user