mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-30 14:40:40 +00:00
Wire in COMPRESSED port option pt 1
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
|
||||
#define SFPP_HASH_SIZE 16
|
||||
#define SFPP_SHORT_HASH_SIZE 8
|
||||
#define USE_COMPRESSED_PORT false
|
||||
|
||||
/**
|
||||
* Store and forward ++ module
|
||||
@@ -80,7 +81,8 @@ class StoreForwardPlusPlusModule : public ProtobufModule<meshtastic_StoreForward
|
||||
{
|
||||
switch (p->decoded.portnum) {
|
||||
case meshtastic_PortNum_TEXT_MESSAGE_APP:
|
||||
case meshtastic_PortNum_STORE_FORWARD_PLUSPLUS_APP:
|
||||
case USE_COMPRESSED_PORT ? meshtastic_PortNum_TEXT_MESSAGE_COMPRESSED_APP:
|
||||
meshtastic_PortNum_STORE_FORWARD_PLUSPLUS_APP:
|
||||
return true;
|
||||
default:
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user