re-enabled transmitter mode
Moved sleep to own file