Fix RFM95 reset (#982)

I've verified that the datasheet says to go low, and checked that the commit history does not indicate a reason for doing otherwise.
This commit is contained in:
tekka
2017-11-10 18:23:36 +01:00
committed by Mikael Falkvidd
parent 0042cd4bee
commit d43c755508
+2 -2
View File
@@ -138,10 +138,10 @@ LOCAL bool RFM95_initialise(const uint32_t frequencyHz)
RFM95_powerUp();
#if defined(MY_RFM95_RST_PIN)
hwPinMode(MY_RFM95_RST_PIN, OUTPUT);
hwDigitalWrite(MY_RFM95_RST_PIN, HIGH);
hwDigitalWrite(MY_RFM95_RST_PIN, LOW);
// 100uS
delayMicroseconds(100);
hwDigitalWrite(MY_RFM95_RST_PIN, LOW);
hwDigitalWrite(MY_RFM95_RST_PIN, HIGH);
// wait until chip ready
delay(5);
RFM95_DEBUG(PSTR("RFM95:INIT:PIN,CS=%" PRIu8 ",IQP=%" PRIu8 ",IQN=%" PRIu8 ",RST=%" PRIu8 "\n"),