diff --git a/firmware/application/ui_record_view.cpp b/firmware/application/ui_record_view.cpp index 02f64a01..cdc9d7aa 100644 --- a/firmware/application/ui_record_view.cpp +++ b/firmware/application/ui_record_view.cpp @@ -317,6 +317,10 @@ Optional RecordView::write_metadata_file(const std::string& filenam } void RecordView::on_tick_second() { + update_status_display(); +} + +void RecordView::update_status_display() { if( is_active() ) { const auto dropped_percent = std::min(99U, capture_thread->state().dropped_percent()); const auto s = to_string_dec_uint(dropped_percent, 2, ' ') + "\%"; diff --git a/firmware/application/ui_record_view.hpp b/firmware/application/ui_record_view.hpp index 85d6e26c..c0d8bc5d 100644 --- a/firmware/application/ui_record_view.hpp +++ b/firmware/application/ui_record_view.hpp @@ -67,6 +67,7 @@ private: Optional write_metadata_file(const std::string& filename); void on_tick_second(); + void update_status_display(); void handle_error(const File::Error error);