summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tangara/app_console/app_console.cpp4
-rw-r--r--src/tangara/audio/audio_fsm.cpp1
-rw-r--r--tools/cmake/common.cmake2
3 files changed, 6 insertions, 1 deletions
diff --git a/src/tangara/app_console/app_console.cpp b/src/tangara/app_console/app_console.cpp
index 8a3df7c3..49cb9788 100644
--- a/src/tangara/app_console/app_console.cpp
+++ b/src/tangara/app_console/app_console.cpp
@@ -362,12 +362,16 @@ int CmdHeaps(int argc, char** argv) {
<< std::endl;
std::cout << (heap_caps_get_minimum_free_size(MALLOC_CAP_DMA) / 1024)
<< " KiB free at lowest" << std::endl;
+ std::cout << (heap_caps_get_largest_free_block(MALLOC_CAP_DMA) / 1024)
+ << " KiB largest free block" << std::endl;
std::cout << "heap stats (external):" << std::endl;
std::cout << (heap_caps_get_free_size(MALLOC_CAP_SPIRAM) / 1024)
<< " KiB free" << std::endl;
std::cout << (heap_caps_get_minimum_free_size(MALLOC_CAP_SPIRAM) / 1024)
<< " KiB free at lowest" << std::endl;
+ std::cout << (heap_caps_get_largest_free_block(MALLOC_CAP_SPIRAM) / 1024)
+ << " KiB largest free block" << std::endl;
return 0;
}
diff --git a/src/tangara/audio/audio_fsm.cpp b/src/tangara/audio/audio_fsm.cpp
index 27c29eee..1e8e0cf6 100644
--- a/src/tangara/audio/audio_fsm.cpp
+++ b/src/tangara/audio/audio_fsm.cpp
@@ -539,6 +539,7 @@ void Standby::react(const system_fsm::UnmountRequest& ev) {
sServices->bg_worker().Dispatch<void>([=]() {
auto db = sServices->database().lock();
if (!db) {
+ events::System().Dispatch(UnmountReady{.idle = ev.idle});
return;
}
auto& queue = sServices->track_queue();
diff --git a/tools/cmake/common.cmake b/tools/cmake/common.cmake
index 4acd9444..af437ffb 100644
--- a/tools/cmake/common.cmake
+++ b/tools/cmake/common.cmake
@@ -5,7 +5,7 @@
# For more information about build system see
# https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html
-set(PROJECT_VER "1.3.0")
+set(PROJECT_VER "1.3.1")
# esp-idf sets the C++ standard weird. Set cmake vars to match.
set(CMAKE_CXX_STANDARD 23)