Unverified Commit 0d101ae2 authored by fertinator's avatar fertinator Committed by GitHub

[OrangePi Zero] Linux chip enable conditional statement (#904)

resolves #903
parent 6ad390fe
......@@ -102,10 +102,14 @@ void RF24::csn(bool mode)
void RF24::ce(bool level)
{
#ifndef RF24_LINUX
//Allow for 3-pin use on ATTiny
if (ce_pin != csn_pin) {
#endif
digitalWrite(ce_pin, level);
#ifndef RF24_LINUX
}
#endif
}
/****************************************************************************/
......
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