 			lockDoor();
 		previousDoorState=door;
 
+		wdt_reset();
 }
 
 #ifdef DEBUG

#include <Ethernet.h>
#include "karty.h"
#include "ethernet.h"

/*
When using Arduino, connect:

Servo servo;

void setup() {
	wdt_enable(WDTO_4S);
	#ifdef STASZEK_MODE
		//RFID reader we are actualy using, implemented according to the UNIQUE standard
		Serial.begin(57600);
