vytah okomentovany

Fork of f by Radovan Zubaľ

Revision:
1:d7c31658c3dd
Parent:
0:7a5957039c5f
--- a/main.cpp	Sat Dec 23 14:20:57 2017 +0000
+++ b/main.cpp	Sat Dec 23 19:15:49 2017 +0000
@@ -1,5 +1,6 @@
 #include "mbed.h"
 #include "MMA8451Q.h"
+//#include "main.h"
 
 #if   defined (TARGET_KL25Z) || defined (TARGET_KL46Z)
 PinName const SDA = PTE25;
@@ -15,7 +16,7 @@
 #endif
 
 #define MMA8451_I2C_ADDRESS (0x1d<<1)
-///////////////////////////////////////
+
 #define ELEVATOR_BUTTONf_FAMILY 0xc0
 #define DIODEf_FAMILY           0x10
 #define LIMIT_SWITCH_FAMILY     0xe0
@@ -102,8 +103,7 @@
         kb=(kb+1)%200;
     }
 }
-/**
-*void prerusenieACC()
+/** void prerusenieACC()
 *funkcia volana pri vzniknuti prerusenia od accelerometra
 *posle simulatoru spravu pre zastavenie vytahu
 */
@@ -123,8 +123,7 @@
 
     }
 }
-/**
-*void main()
+/** void main()
 *nastavuje akcelerometer pre vytvaranie prerusenia pre freefall
 *spracovava v nekonecnej slucke spravy z kruhoveho buffera
 *v pravidelnych intervaloch resetuje watchdog