Commit 3f6539e9 authored by Daniel Friesel's avatar Daniel Friesel
Browse files

nrf24: Add powerDown transition

parent c5a37ca2
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -69,6 +69,9 @@ transition:
      datarate: 'Nrf24l01::RF24_1MBPS'
      tx_power: 'Nrf24l01::RF24_PA_MAX'
      channel: 76
  powerDown:
    src: [STANDBY1]
    dst: POWEROFF
  setAutoAck:
    src: [STANDBY1]
    dst: STANDBY1
+1 −1
Original line number Diff line number Diff line
@@ -128,7 +128,7 @@ void Nrf24l01::powerUp(void)
		// For nRF24L01+ to go from power down mode to TX or RX mode it must first pass through stand-by mode.
		// There must be a delay of Tpd2stby (see Table 16.) after the nRF24L01+ leaves power down mode before
		// the CEis set high. - Tpd2stby can be up to 5ms per the 1.0 datasheet
		arch.delay_us(5);
		arch.delay_ms(5);
	}
}