add lora send bypass for debugging

This commit is contained in:
2026-02-01 19:34:28 +01:00
parent 7f31b9dd95
commit 13b4025443
2 changed files with 4 additions and 0 deletions

View File

@@ -30,6 +30,9 @@ void lora_init() {
}
bool lora_send(const LoraPacket &pkt) {
if (LORA_SEND_BYPASS) {
return true;
}
uint8_t buffer[5 + LORA_MAX_PAYLOAD + 2];
size_t idx = 0;
buffer[idx++] = pkt.protocol_version;