Guys, I'm having a problem of my due sometimes freezing, (guess due to I2C hardware). I'm intended to use the watchdog timer in order to restart my controller. The problem, is that it seems that the latest version of Arduino IDE at :
C:\Users\SLAVA\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.9\variants
the variants.cpp is changed and there is no line that disables the watchdog, I'm trying to use WOD_Enable() like this:
void init( void )
{
SystemInit();
//======================================================================
//EDITED REGION
WDT_Enable( WDT );
But it seems not to give any result, is the procedure of enabling the watchdog the same in current version of Arduino ?