Exemple #1
0
void module_setup()
{
	payload_tx_enable(FALSE); // disable payload TX (if not already done by local io_pins_setup())

  module_id = eeprom_read_byte(MODULE_EEPROM_ADDR_MODULE_ID);
	if (module_id > 127)
		module_id = MODULE_INITIAL_ID;

	comms_setup();
	uart0_setup();
}
Exemple #2
0
void comms_return()
{
	//TODO: Return us to previous comms menu state (returning from trade, etc.)
	comms_setup();
}