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:
Mihai Tudor Panu
2018-09-04 07:53:16 -07:00
parent 6ae7e9125b
commit 62f84dcc47
9 changed files with 2 additions and 45 deletions

View File

@ -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);