Safety check: only try to read a packet if it was preceeded by an interrupt (which sets the pending flag)
Safety check: only try to read a packet if it was preceeded by an interrupt (which sets the pending flag)

arurke/contiki,arurke/contiki,MohamedSeliem/contiki,arurke/contiki,bluerover/6lbr,MohamedSeliem/contiki,arurke/contiki,MohamedSeliem/contiki,bluerover/6lbr,bluerover/6lbr,MohamedSeliem/contiki,MohamedSeliem/contiki,MohamedSeliem/contiki,arurke/contiki,MohamedSeliem/contiki,bluerover/6lbr,bluerover/6lbr,bluerover/6lbr,arurke/contiki,bluerover/6lbr,arurke/contiki