Skip to content

Commit 5f1ba35

Browse files
author
Greg Smith
committed
- fixed issue where Tonex One global volume changes didn't update the UI straight away
- removed EEZ studio state files from Git
1 parent 4fd8ce6 commit 5f1ba35

File tree

8 files changed

+8
-6250
lines changed

8 files changed

+8
-6250
lines changed

.gitignore

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,5 @@
33

44
build_distrib/temp
55

6-
# ignore EEZ Studio files
7-
ui_design_128x128/*.eez-project-ui-state
8-
ui_design_240x280port/*.eez-project-ui-state
9-
ui_design_280x240land/*.eez-project-ui-state
10-
ui_design_320x170land/*.eez-project-ui-state
11-
ui_design_480x320land/*.eez-project-ui-state
12-
ui_design_800x480land/*.eez-project-ui-state
6+
# ignore EEZ Studio state files
7+
**/*.eez-project-ui-state

source/main/usb_tonex_one.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -657,6 +657,12 @@ static esp_err_t usb_tonex_one_modify_global(uint16_t global_val, float value)
657657

658658
usb_tonex_one_send_master_volume(scaled_value);
659659

660+
// wait a little
661+
vTaskDelay(20);
662+
663+
// read value back to update the UI
664+
usb_tonex_one_request_master_volume();
665+
660666
// bit of a hack here. Return fail code, so caller can avoid sending the state data unneccessarily
661667
res = ESP_FAIL;
662668
} break;

0 commit comments

Comments
 (0)