Skip to content

Commit

Permalink
Fix ENABLE_MESSENGER_UART
Browse files Browse the repository at this point in the history
  • Loading branch information
spm81 committed Feb 22, 2024
1 parent 7690c5b commit 9f559bf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ ENABLE_MESSENGER_SHOW_RX_FREQ := 1
# 124 (+20) bytes
ENABLE_MESSENGER_SHOW_RX_TX_FREQ := 1
# 156 bytes
ENABLE_MESSENGER_UART := 1
ENABLE_MESSENGER_UART := 0
# 3408 bytes
ENABLE_MESSENGER_ENCRYPTION := 1
# 140 bytes
Expand All @@ -83,7 +83,7 @@ ENABLE_DOCK := 0

#Thanks to KD8CEC for sharing his code / We have to check the code better, i just code & paste it to the right places...
# 1476 bytes
ENABLE_LIVESEEK_MHZ_KEYPAD := 0
ENABLE_LIVESEEK_MHZ_KEYPAD := 1


# ---- DEBUGGING ----
Expand Down
4 changes: 3 additions & 1 deletion app/messenger.c
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,9 @@ void MSG_StorePacket(const uint16_t interrupt_bits)
if(gEeprom.MESSENGER_CONFIG.data.ack) {
if (dataPacket.data.payload[5] == 'R' && dataPacket.data.payload[6] == 'C' && dataPacket.data.payload[7] == 'V' && dataPacket.data.payload[8] == 'D')
{
UART_printf("SVC<RCPT\r\n");
#ifdef ENABLE_MESSENGER_UART
UART_printf("SVC<RCPT\r\n");
#endif
rxMessage[LAST_LINE][0] = '+';
gUpdateStatus = true;
gUpdateDisplay = true;
Expand Down

0 comments on commit 9f559bf

Please sign in to comment.