mirror of
https://github.com/ttrftech/NanoVNA.git
synced 2025-12-06 03:31:59 +01:00
Code style
This commit is contained in:
parent
cd4fc4f54f
commit
ff52ba1d45
3
ui.c
3
ui.c
|
|
@ -2177,7 +2177,8 @@ void ui_process_touch(void)
|
||||||
int touch_x, touch_y;
|
int touch_x, touch_y;
|
||||||
int status = touch_check();
|
int status = touch_check();
|
||||||
if (status == EVT_TOUCH_PRESSED || status == EVT_TOUCH_DOWN) {
|
if (status == EVT_TOUCH_PRESSED || status == EVT_TOUCH_DOWN) {
|
||||||
touch_position(&touch_x, &touch_y); switch (ui_mode) {
|
touch_position(&touch_x, &touch_y);
|
||||||
|
switch (ui_mode) {
|
||||||
case UI_NORMAL:
|
case UI_NORMAL:
|
||||||
// Try drag marker
|
// Try drag marker
|
||||||
if (touch_pickup_marker(touch_x, touch_y))
|
if (touch_pickup_marker(touch_x, touch_y))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue