Fix SubGhz test views erratic behavior on mode switch. New bootloader image. (#669)

* Assets: add bootloader DFU icon.
* SubGhz: locking model in test views, wait for calibration complete on frequency change.
This commit is contained in:
あく
2021-08-24 02:52:59 +03:00
committed by GitHub
parent 153666f73f
commit dd8a90957f
8 changed files with 362 additions and 312 deletions
+1 -1
View File
@@ -139,7 +139,7 @@ SubghzStatic* subghz_static_alloc() {
// View allocation and configuration
instance->view = view_alloc();
view_allocate_model(instance->view, ViewModelTypeLockFree, sizeof(SubghzStaticModel));
view_allocate_model(instance->view, ViewModelTypeLocking, sizeof(SubghzStaticModel));
view_set_context(instance->view, instance);
view_set_draw_callback(instance->view, (ViewDrawCallback)subghz_static_draw);
view_set_input_callback(instance->view, subghz_static_input);