added sync_enable & general cleanup
included txrx.c