Esempio n. 1
0
int main(void)
{
	tg_system_reset();
	tg_application_reset();
	_tg_unit_tests();
	tg_application_startup();

#ifdef __STANDALONE_MODE
	for(;;){ tg_controller();}	// this mode executes gcode blocks received via USB
#endif

#ifdef __MASTER_MODE
	for(;;){ tg_repeater();}	// this mode receives on USB and repeats to RS485
	}
Esempio n. 2
0
void roll_over_and_die()
{
	tg_system_reset();
	tg_application_reset();
}
Esempio n. 3
0
void tg_reset(void)
{
//	mp_flush_planner();
//	tg_system_reset();
	tg_application_reset();
}