Skip to content

Commit c689274

Browse files
authored
Fix TransportHAL debug output (#1288)
1 parent 7ff7bd0 commit c689274

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

hal/transport/MyTransportHAL.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,10 @@ bool transportHALInit(void)
3939
hwReadConfigBlock((void *)transportPSK, (void *)EEPROM_RF_ENCRYPTION_AES_KEY_ADDRESS,
4040
sizeof(transportPSK));
4141
#endif
42+
#if defined(MY_DEBUG_VERBOSE_TRANSPORT_HAL)
4243
hwDebugBuf2Str((const uint8_t *)transportPSK, sizeof(transportPSK));
4344
TRANSPORT_HAL_DEBUG(PSTR("THA:INIT:PSK=%s\n"),hwDebugPrintStr);
45+
#endif
4446
#endif
4547
bool result = transportInit();
4648

0 commit comments

Comments
 (0)