Turn off energest listen in off()

This commit is contained in:
Adam Dunkels 2015-09-02 12:10:44 +02:00
parent f1c4a5ee08
commit 27e373492d

View file

@ -1108,6 +1108,8 @@ off(void)
rf_core_power_down();
ENERGEST_OFF(ENERGEST_TYPE_LISTEN);
/* Switch HF clock source to the RCOSC to preserve power */
oscillators_switch_to_hf_rc();