[CC1101] Fixed interrupt direction.

Tested: CC1101_Receive, CC1101_Receive_Interrupt, CC1101_Transmit, CC1101_Transmit_Interrupt
This commit is contained in:
Andrea Guglielmini 2020-02-17 12:45:19 +01:00
parent 54405ac042
commit 4f78d95738

View file

@ -599,9 +599,9 @@ class CC1101: public PhysicalLayer {
\param func ISR to call. \param func ISR to call.
\param dir Signal change direction. Defaults to FALLING. \param dir Signal change direction. Defaults to RISING.
*/ */
void setGdo0Action(void (*func)(void), uint8_t dir = FALLING); void setGdo0Action(void (*func)(void), uint8_t dir = RISING);
/*! /*!
\brief Clears interrupt service routine to call when GDO0 activates. \brief Clears interrupt service routine to call when GDO0 activates.