misc NRF52 fixes

This commit is contained in:
geeksville
2020-04-23 12:47:41 -07:00
parent 2061706c11
commit fe3cbeed3a
7 changed files with 37 additions and 7 deletions

View File

@@ -114,6 +114,11 @@ bool RH_RF95::init()
return enableInterrupt();
}
// If on a platform without level trigger definitions, just use RISING and suck it up.
#ifndef ONHIGH
#define ONHIGH RISING
#endif
bool RH_RF95::enableInterrupt()
{
// Determine the interrupt number that corresponds to the interruptPin