[En-Nut-Discussion] Reboot

Harald Kipp harald.kipp at egnite.de
Tue Mar 25 09:56:19 CET 2003


I'd also recommend to disable interrupts before
jumping to zero.

The safest way however is to use the watchdog.

  cli();
  wdt_reset();
  wdt_enable(1);
  for (;;);

Harald




More information about the En-Nut-Discussion mailing list