mirror of
https://gitlab.com/eql/lqml.git
synced 2025-12-06 02:30:38 -08:00
revisions
This commit is contained in:
parent
fed3fe1671
commit
416b721224
4 changed files with 6 additions and 3 deletions
|
|
@ -432,7 +432,6 @@
|
|||
:tx-power 0 ; max legal power
|
||||
:sx126x-rx-boosted-gain t))))))
|
||||
|
||||
|
||||
(defun wait-for-reboot (&optional (seconds 15))
|
||||
"Changing config will reboot device."
|
||||
(qlater (lambda ()
|
||||
|
|
|
|||
|
|
@ -32,6 +32,9 @@
|
|||
#-android 0
|
||||
'lora:start-device-discovery))
|
||||
|
||||
(defun has-feature (name)
|
||||
(qt:has-feature qt:*cpp* name))
|
||||
|
||||
(defun in-data-path (&optional (file "") (prefix "data/"))
|
||||
#+mobile
|
||||
(merge-pathnames (x:cc prefix file))
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@
|
|||
#:background-mode-changed
|
||||
#:change-setting
|
||||
#:confirm-dialog
|
||||
#:has-feature
|
||||
#:icon-press-and-hold
|
||||
#:in-data-path
|
||||
#:ini
|
||||
|
|
|
|||
|
|
@ -7,9 +7,9 @@
|
|||
(setf *connection* (or (app:setting :connection)
|
||||
:ble))
|
||||
(set-connection-type)
|
||||
(unless (qt:has-feature qt:*cpp* "ble")
|
||||
(unless (app:has-feature "ble")
|
||||
(q> |height| ui:*ble* 0))
|
||||
(unless (qt:has-feature qt:*cpp* "usb")
|
||||
(unless (app:has-feature "usb")
|
||||
(q> |height| ui:*usb* 0))
|
||||
(q> |checked| (symbol-name *connection*) t)
|
||||
(q> |model| ui:*region*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue