mirror of
https://gitlab.com/eql/lqml.git
synced 2025-12-06 10:31:34 -08:00
example 'meshtastic': add option to exclude BLE support; revisions
This commit is contained in:
parent
8a9fb55850
commit
fed3fe1671
14 changed files with 94 additions and 20 deletions
|
|
@ -152,6 +152,17 @@ QVariant QT::wifiConnectable(const QVariant& vIP) {
|
|||
return QVariant();
|
||||
}
|
||||
|
||||
QVariant QT::hasFeature(const QVariant& vName) {
|
||||
auto name = vName.toString().toLower();
|
||||
#ifndef NO_BLE
|
||||
if (name == "ble") return true;
|
||||
#endif
|
||||
#ifndef NO_USB
|
||||
if (name == "usb") return true;
|
||||
#endif
|
||||
return QVariant();
|
||||
}
|
||||
|
||||
// SQLite
|
||||
|
||||
QVariant QT::iniDb(const QVariant& vName) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue