Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: sx1276/arduino-mbed.cpp
- Revision:
- 69:d440a5b04708
- Parent:
- 67:d3afd803f40d
- Child:
- 70:1d496aae2819
--- a/sx1276/arduino-mbed.cpp	Wed Jul 19 09:36:56 2017 +0200
+++ b/sx1276/arduino-mbed.cpp	Fri Jul 21 17:09:05 2017 +0200
@@ -179,7 +179,7 @@
     if (func) {
         _func = func;
         intPtrTable[_gpioPin].context = this;
-        attachInterrupt(digitalPinToInterrupt(_gpioPin), intPtrTable[_gpioPin].func, RISING);
+        attachInterrupt(MYdigitalPinToInterrupt(_gpioPin), intPtrTable[_gpioPin].func, RISING);
     } else {
         _func = InterruptIn::donothing;
         intPtrTable[_gpioPin].context = NULL;
@@ -192,7 +192,7 @@
     if (func) {
         _func = func;
         intPtrTable[_gpioPin].context = this;
-        attachInterrupt(digitalPinToInterrupt(_gpioPin), intPtrTable[_gpioPin].func, FALLING);
+        attachInterrupt(MYdigitalPinToInterrupt(_gpioPin), intPtrTable[_gpioPin].func, FALLING);
     } else {
         _func = InterruptIn::donothing;
         intPtrTable[_gpioPin].context = NULL;