mirror of
https://github.com/eclipse/upm.git
synced 2025-07-02 01:41:12 +03:00
mmap-gpio: remove deprecated mmapped gpio function calls
The memory mapped GPIO function calls have been deprecated and in turn removed from the UPM libraries. MRAA now provides the best/fastest GPIO access possible based on the selected platform/pin automatically. Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
@ -80,7 +80,6 @@ SX1276::SX1276(uint8_t chipRev, int bus, int cs, int resetPin, int dio0,
|
||||
m_spi.frequency(10000000); // 10Mhz, if supported
|
||||
|
||||
m_gpioCS.dir(mraa::DIR_OUT);
|
||||
m_gpioCS.useMmap(true);
|
||||
csOff();
|
||||
|
||||
m_gpioReset.dir(mraa::DIR_IN);
|
||||
|
Reference in New Issue
Block a user