mirror of
https://github.com/meshtastic/firmware.git
synced 2025-09-19 16:29:31 +00:00
Compare commits
6 Commits
e094a77b8e
...
5ebf730b69
Author | SHA1 | Date | |
---|---|---|---|
![]() |
5ebf730b69 | ||
![]() |
e722a97987 | ||
![]() |
a8767828d0 | ||
![]() |
ce72eec622 | ||
![]() |
8b44ad122e | ||
![]() |
daa4186d65 |
@ -94,8 +94,7 @@ lib_deps =
|
|||||||
|
|
||||||
[device-ui_base]
|
[device-ui_base]
|
||||||
lib_deps =
|
lib_deps =
|
||||||
;https://github.com/meshtastic/device-ui.git#7a6ffba3c86901b0e3234b6c056aa803b4cd8854
|
https://github.com/meshtastic/device-ui.git#7a6ffba3c86901b0e3234b6c056aa803b4cd8854
|
||||||
symlink:///home/manuel/Documents/PlatformIO/Projects/device-ui
|
|
||||||
|
|
||||||
; Common libs for environmental measurements in telemetry module
|
; Common libs for environmental measurements in telemetry module
|
||||||
; (not included in native / portduino)
|
; (not included in native / portduino)
|
||||||
|
@ -110,6 +110,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
// Define if screen should be mirrored left to right
|
// Define if screen should be mirrored left to right
|
||||||
// #define SCREEN_MIRROR
|
// #define SCREEN_MIRROR
|
||||||
|
|
||||||
|
// Define BUTTON_PIN to ensure button setup is always done
|
||||||
|
#ifndef BUTTON_PIN
|
||||||
|
#define BUTTON_PIN (-1)
|
||||||
|
#endif
|
||||||
|
|
||||||
// I2C Keyboards (M5Stack, RAK14004, T-Deck)
|
// I2C Keyboards (M5Stack, RAK14004, T-Deck)
|
||||||
#define CARDKB_ADDR 0x5F
|
#define CARDKB_ADDR 0x5F
|
||||||
#define TDECK_KB_ADDR 0x55
|
#define TDECK_KB_ADDR 0x55
|
||||||
|
@ -309,7 +309,10 @@ void MeshService::sendToPhone(meshtastic_MeshPacket *p)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
assert(toPhoneQueue.enqueue(p, 0));
|
if (toPhoneQueue.enqueue(p, 0) == false) {
|
||||||
|
LOG_CRIT("Failed to queue a packet into toPhoneQueue!");
|
||||||
|
abort();
|
||||||
|
}
|
||||||
fromNum++;
|
fromNum++;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -323,7 +326,10 @@ void MeshService::sendMqttMessageToClientProxy(meshtastic_MqttClientProxyMessage
|
|||||||
releaseMqttClientProxyMessageToPool(d);
|
releaseMqttClientProxyMessageToPool(d);
|
||||||
}
|
}
|
||||||
|
|
||||||
assert(toPhoneMqttProxyQueue.enqueue(m, 0));
|
if (toPhoneMqttProxyQueue.enqueue(m, 0) == false) {
|
||||||
|
LOG_CRIT("Failed to queue a packet into toPhoneMqttProxyQueue!");
|
||||||
|
abort();
|
||||||
|
}
|
||||||
fromNum++;
|
fromNum++;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -337,7 +343,10 @@ void MeshService::sendClientNotification(meshtastic_ClientNotification *n)
|
|||||||
releaseClientNotificationToPool(d);
|
releaseClientNotificationToPool(d);
|
||||||
}
|
}
|
||||||
|
|
||||||
assert(toPhoneClientNotificationQueue.enqueue(n, 0));
|
if (toPhoneClientNotificationQueue.enqueue(n, 0) == false) {
|
||||||
|
LOG_CRIT("Failed to queue a notification into toPhoneClientNotificationQueue!");
|
||||||
|
abort();
|
||||||
|
}
|
||||||
fromNum++;
|
fromNum++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -66,7 +66,7 @@ build_flags =
|
|||||||
-D VIEW_320x240
|
-D VIEW_320x240
|
||||||
; -D USE_DOUBLE_BUFFER
|
; -D USE_DOUBLE_BUFFER
|
||||||
-D USE_PACKET_API
|
-D USE_PACKET_API
|
||||||
; -D MAP_FULL_REDRAW
|
-D MAP_FULL_REDRAW
|
||||||
|
|
||||||
lib_deps =
|
lib_deps =
|
||||||
${env:t-deck.lib_deps}
|
${env:t-deck.lib_deps}
|
||||||
|
Loading…
Reference in New Issue
Block a user