Skip to content

Commit

Permalink
fix against regression of nRF52 build
Browse files Browse the repository at this point in the history
  • Loading branch information
lyusupov committed Oct 30, 2023
1 parent ae35213 commit 66fec93
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion software/firmware/source/SoftRF/src/driver/Bluetooth.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1370,7 +1370,10 @@ void startAdv(void)

// Secondary Scan Response packet (optional)
// Since there is no room for 'Name' in Advertising packet
if (!rid_enabled()) {
#if defined(ENABLE_REMOTE_ID)
if (!rid_enabled())
#endif /* ENABLE_REMOTE_ID */
{
Bluefruit.ScanResponse.addName();
}

Expand Down

0 comments on commit 66fec93

Please sign in to comment.