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

@ -44,7 +44,6 @@ UltraSonic::UltraSonic (int pin) {
fprintf (stderr, "Are you sure that pin%d you requested is valid on your platform?", pin);
exit (1);
}
mraa_gpio_use_mmaped(m_pinCtx, 1);
mraa_gpio_isr (m_pinCtx, MRAA_GPIO_EDGE_BOTH,
&signalISR, this);
}