Commit 956b63a4 authored by maniacbug's avatar maniacbug

sed s/boolean/bool/g

parent 14c34ca2
...@@ -419,7 +419,7 @@ void RF24::powerUp(void) ...@@ -419,7 +419,7 @@ void RF24::powerUp(void)
/******************************************************************/ /******************************************************************/
boolean RF24::write( const void* buf, uint8_t len ) bool RF24::write( const void* buf, uint8_t len )
{ {
bool result = false; bool result = false;
...@@ -716,7 +716,7 @@ bool RF24::isAckPayloadAvailable(void) ...@@ -716,7 +716,7 @@ bool RF24::isAckPayloadAvailable(void)
/****************************************************************************/ /****************************************************************************/
boolean RF24::isPVariant(void) bool RF24::isPVariant(void)
{ {
return p_variant ; return p_variant ;
} }
...@@ -752,14 +752,14 @@ void RF24::setAutoAck( uint8_t pipe, bool enable ) ...@@ -752,14 +752,14 @@ void RF24::setAutoAck( uint8_t pipe, bool enable )
/******************************************************************/ /******************************************************************/
boolean RF24::testCarrier(void) bool RF24::testCarrier(void)
{ {
return ( read_register(CD) & 1 ); return ( read_register(CD) & 1 );
} }
/****************************************************************************/ /****************************************************************************/
boolean RF24::testRPD(void) bool RF24::testRPD(void)
{ {
return ( read_register(RPD) & 1 ) ; return ( read_register(RPD) & 1 ) ;
} }
...@@ -828,8 +828,9 @@ rf24_pa_dbm_e RF24::getPALevel(void) ...@@ -828,8 +828,9 @@ rf24_pa_dbm_e RF24::getPALevel(void)
/******************************************************************/ /******************************************************************/
boolean RF24::setDataRate(rf24_datarate_e speed) bool RF24::setDataRate(rf24_datarate_e speed)
{ {
bool result = false;
uint8_t setup = read_register(RF_SETUP) ; uint8_t setup = read_register(RF_SETUP) ;
// HIGH and LOW '00' is 1Mbs - our default // HIGH and LOW '00' is 1Mbs - our default
......
...@@ -488,7 +488,7 @@ public: ...@@ -488,7 +488,7 @@ public:
* @return true if the hardware is nRF24L01+ (or compatible) and false * @return true if the hardware is nRF24L01+ (or compatible) and false
* if its not. * if its not.
*/ */
boolean isPVariant(void) ; bool isPVariant(void) ;
/** /**
* Call this when you get an interrupt to find out why * Call this when you get an interrupt to find out why
...@@ -543,7 +543,7 @@ public: ...@@ -543,7 +543,7 @@ public:
* *
* @return true if signal => -64dBm, false if not * @return true if signal => -64dBm, false if not
*/ */
boolean testRPD(void) ; bool testRPD(void) ;
/** /**
* Set Power Amplifier (PA) level to one of four levels. * Set Power Amplifier (PA) level to one of four levels.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment