nRF24L01 driver
Dependents: Nucleo_IOT1 wireless
Diff: nRF24L01P.cpp
- Revision:
- 1:cd113026825f
- Parent:
- 0:7313e63394c3
- Child:
- 3:39e8335cce5d
--- a/nRF24L01P.cpp Sun Aug 11 11:58:05 2013 +0000 +++ b/nRF24L01P.cpp Sat Feb 01 11:07:08 2014 +0000 @@ -125,7 +125,7 @@ char p = 0; if (Power == 0) p = 0x03; - if (Power == -6) + else if (Power == -6) p = 0x02; else if (Power == -12) p = 0x01;