|
|
@@ -320,14 +320,7 @@ void Application::StopListening() {
|
|
|
void Application::Start() {
|
|
|
auto& board = Board::GetInstance();
|
|
|
SetDeviceState(kDeviceStateStarting);
|
|
|
-
|
|
|
- // 创建GPIO5中断处理器实例并初始化,暂时不用
|
|
|
- // static Gpio5InterruptHandler gpio5_handler;
|
|
|
- // if (gpio5_handler.init() != ESP_OK) {
|
|
|
- // ESP_LOGE("main", "GPIO5 interrupt initialization failed");
|
|
|
- // return;
|
|
|
- // }
|
|
|
- /* Setup the display */
|
|
|
+
|
|
|
auto display = board.GetDisplay();
|
|
|
|
|
|
/* Setup the audio codec */
|