Modularizando o src

Dependencies:   EALib EthernetInterface_vz mbed-rtos mbed

Fork of header_main_colinas_V0-20-09-14 by VZTECH

Revision:
121:ee02790d00b7
Parent:
69:65665afbad5d
--- a/timeslice.h	Mon May 04 17:25:29 2015 +0000
+++ b/timeslice.h	Fri May 08 04:15:23 2015 +0000
@@ -6,14 +6,18 @@
  * @date 2014-10-31
  * \class Timeslice
  */
+
+#ifndef __TIMESLICE_H__
+#define __TIMESLICE_H__
+
 #include <stdint.h>
 
-#define __MAX_TIMESLICES__ 4
+const uint8_t MAX_TIMESLICES = 4;
 ///< Por decisão de projeto, este foi dimensionado para o uso de 4 timeslices
 
 class Timeslice{
     private :
-        uint8_t timeslice[ __MAX_TIMESLICES__ ];
+        uint8_t timeslice[ MAX_TIMESLICES ];
     public :
         /**
          * @Synopsis Cria e inicializa o objeto, pronto para o uso.
@@ -93,4 +97,6 @@
          * @endcode
          */
         uint8_t remain_timeslices( void );
-};
\ No newline at end of file
+};
+
+#endif
\ No newline at end of file