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:
74:81c47fff88a5
--- a/rtpbuf.h	Mon May 04 17:25:29 2015 +0000
+++ b/rtpbuf.h	Fri May 08 04:15:23 2015 +0000
@@ -6,16 +6,16 @@
  * @date 2014-11-05
  * \note IMPORTANT: sizes must be multiple of 4 
  */
-#ifndef _RTPBUF_H
-#define _RTPBUF_H
+#ifndef __RTPBUF_H__
+#define __RTPBUF_H__
 
 #include <stdint.h>
-#include "debug.h"
+#include <stdlib.h>
 #include "utils.h"
 
-#define RTPBUF_PKGSIZE 240 
+const uint16_t RTPBUF_PKGSIZE = 240;
 ///< 30ms @ 8Ksamples/sec
-#define RTPBUF_BUFSIZE 320 
+const uint16_t RTPBUF_BUFSIZE = 320;
 ///< 40ms @ 8Ksamples/sec
 
 #if (RTPBUF_PKGSIZE & 0x03)