1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-18 03:52:11 +01:00

RFM22: No need to poll the ISR from two tasks in radio.c

This commit is contained in:
James Cotton 2012-09-02 22:15:20 -05:00
parent 311bbcb539
commit 61ff335eaa

View File

@ -315,8 +315,6 @@ static void radioReceiveTask(void *parameters)
PIOS_WDG_UpdateFlag(PIOS_WDG_RADIORECEIVE);
#endif /* PIOS_INCLUDE_WDG */
PIOS_RFM22_processPendingISR(5);
// Get a RX packet from the packet handler if required.
if (p == NULL)
p = PHGetRXPacket(pios_packet_handler);