Turn off radio again after transmitting

This commit is contained in:
Adam Dunkels 2015-09-02 12:10:07 +02:00
parent 8bcde2e40f
commit f1c4a5ee08

View file

@ -853,6 +853,11 @@ transmit(unsigned short transmit_len)
*/ */
rf_core_cmd_done_dis(); rf_core_cmd_done_dis();
if(was_off) {
off();
}
return ret; return ret;
} }
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/