diff --git a/firmware/application/ui_debug.cpp b/firmware/application/ui_debug.cpp index a3469405..7e955b03 100644 --- a/firmware/application/ui_debug.cpp +++ b/firmware/application/ui_debug.cpp @@ -168,7 +168,10 @@ DebugMenuView::DebugMenuView(NavigationView& nav) { "Si5351C", RegistersWidgetConfig { 96, 2, 2, 8 }, [](const size_t register_number) { return portapack::clock_generator.read_register(register_number); } ); } }, - { "WM8731", [&nav](){ nav.push(); } }, + { "WM8731", [&nav](){ nav.push( + "WM8731", RegistersWidgetConfig { wolfson::wm8731::reg_count, 1, 3, 4 }, + [](const size_t register_number) { return portapack::audio_codec.read(register_number); } + ); } }, } }); on_left = [&nav](){ nav.pop(); }; }