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
|
:tx-power 0 ; max legal power
|
||||||
:sx126x-rx-boosted-gain t))))))
|
:sx126x-rx-boosted-gain t))))))
|
||||||
|
|
||||||
|
|
||||||
(defun wait-for-reboot (&optional (seconds 15))
|
(defun wait-for-reboot (&optional (seconds 15))
|
||||||
"Changing config will reboot device."
|
"Changing config will reboot device."
|
||||||
(qlater (lambda ()
|
(qlater (lambda ()
|
||||||
|
|
|
||||||
|
|
@ -32,6 +32,9 @@
|
||||||
#-android 0
|
#-android 0
|
||||||
'lora:start-device-discovery))
|
'lora:start-device-discovery))
|
||||||
|
|
||||||
|
(defun has-feature (name)
|
||||||
|
(qt:has-feature qt:*cpp* name))
|
||||||
|
|
||||||
(defun in-data-path (&optional (file "") (prefix "data/"))
|
(defun in-data-path (&optional (file "") (prefix "data/"))
|
||||||
#+mobile
|
#+mobile
|
||||||
(merge-pathnames (x:cc prefix file))
|
(merge-pathnames (x:cc prefix file))
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,7 @@
|
||||||
#:background-mode-changed
|
#:background-mode-changed
|
||||||
#:change-setting
|
#:change-setting
|
||||||
#:confirm-dialog
|
#:confirm-dialog
|
||||||
|
#:has-feature
|
||||||
#:icon-press-and-hold
|
#:icon-press-and-hold
|
||||||
#:in-data-path
|
#:in-data-path
|
||||||
#:ini
|
#:ini
|
||||||
|
|
|
||||||
|
|
@ -7,9 +7,9 @@
|
||||||
(setf *connection* (or (app:setting :connection)
|
(setf *connection* (or (app:setting :connection)
|
||||||
:ble))
|
:ble))
|
||||||
(set-connection-type)
|
(set-connection-type)
|
||||||
(unless (qt:has-feature qt:*cpp* "ble")
|
(unless (app:has-feature "ble")
|
||||||
(q> |height| ui:*ble* 0))
|
(q> |height| ui:*ble* 0))
|
||||||
(unless (qt:has-feature qt:*cpp* "usb")
|
(unless (app:has-feature "usb")
|
||||||
(q> |height| ui:*usb* 0))
|
(q> |height| ui:*usb* 0))
|
||||||
(q> |checked| (symbol-name *connection*) t)
|
(q> |checked| (symbol-name *connection*) t)
|
||||||
(q> |model| ui:*region*
|
(q> |model| ui:*region*
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue