Skip to content

Commit

Permalink
- added ifdefs around the debug printout
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxdevel committed Oct 29, 2015
1 parent 355ed1f commit 6ec3833
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions nRF8001.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -833,9 +833,13 @@ void nRF8001::begin(unsigned char advertisementDataType,
}

if (!lib_aci_set_tx_power(device_tx_power)) {
#ifdef NRF_8001_DEBUG
Serial.println("FAILED lib_aci_set_tx_power");
#endif
} else {
#ifdef NRF_8001_DEBUG
Serial.println("lib_aci_set_tx_power SUCCESS");
#endif
}

}
Expand Down

0 comments on commit 6ec3833

Please sign in to comment.