Fixed term order for RPi example

pull/746/head
jgromes 2023-05-07 07:17:47 +01:00
rodzic f96881700f
commit a797bef0d2
1 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

@ -36,12 +36,12 @@ class PiHal : public RadioLibHal {
// stop the SPI
spiEnd();
// and now the pigpio library
gpioTerminate();
// finally, pull the enable pin low
// pull the enable pin low
gpioSetMode(18, PI_OUTPUT);
gpioWrite(18, PI_LOW);
// finally, stop the pigpio library
gpioTerminate();
}
// GPIO-related methods (pinMode, digitalWrite etc.) should check