diff options
| author | jacqueline <me@jacqueline.id.au> | 2022-12-02 13:39:00 +1100 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2022-12-02 13:39:00 +1100 |
| commit | 222c810b07ffc635fc7908d121e97e4d65ccc5c8 (patch) | |
| tree | 91c7b5c72a11770ebf3695bf0c234597b2bc419d /src/main | |
| parent | 71a4f5166f5491dc0982a18d62c63e28b3a52faa (diff) | |
| download | tangara-fw-222c810b07ffc635fc7908d121e97e4d65ccc5c8.tar.gz | |
fix build errors
Diffstat (limited to 'src/main')
| -rw-r--r-- | src/main/app_console.hpp | 4 | ||||
| -rw-r--r-- | src/main/main.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/main/app_console.hpp b/src/main/app_console.hpp index d41810b0..155d8127 100644 --- a/src/main/app_console.hpp +++ b/src/main/app_console.hpp @@ -9,8 +9,8 @@ namespace console { class AppConsole : public Console { public: - AppConsole(){}; - virtual ~AppConsole(){}; + AppConsole() {} + virtual ~AppConsole() {} protected: virtual auto RegisterExtraComponents() -> void; diff --git a/src/main/main.cpp b/src/main/main.cpp index 79a2f42b..3e073401 100644 --- a/src/main/main.cpp +++ b/src/main/main.cpp @@ -110,6 +110,7 @@ extern "C" void app_main(void) { (void*)lvglArgs, 1, sLvglStack, &sLvglTaskBuffer, 1); + /* ESP_LOGI(TAG, "Init audio output (I2S)"); auto sink_res = drivers::I2SAudioOutput::create(expander); if (sink_res.has_error()) { @@ -118,7 +119,6 @@ extern "C" void app_main(void) { } std::unique_ptr<drivers::IAudioOutput> sink = std::move(sink_res.value()); - /* ESP_LOGI(TAG, "Init audio pipeline"); auto playback_res = drivers::AudioPlayback::create(std::move(sink)); if (playback_res.has_error()) { @@ -131,7 +131,7 @@ extern "C" void app_main(void) { */ ESP_LOGI(TAG, "Launch console"); - console::AppConsole console(playback.get()); + console::AppConsole console; console.Launch(); while (1) { |
