Modularizando o src
Dependencies: EALib EthernetInterface_vz mbed-rtos mbed
Fork of header_main_colinas_V0-20-09-14 by
Diff: ring_buffer.h
- Revision:
- 121:ee02790d00b7
- Parent:
- 114:472502b31a12
- Child:
- 135:2f4290590e51
diff -r 770f00554b1e -r ee02790d00b7 ring_buffer.h --- a/ring_buffer.h Mon May 04 17:25:29 2015 +0000 +++ b/ring_buffer.h Fri May 08 04:15:23 2015 +0000 @@ -1,12 +1,11 @@ #ifndef __RING_BUFFER_H__ #define __RING_BUFFER_H__ -#include <assert.h> // for unit_test -#include <stdint.h> // for uint8* -#include <stdlib.h> // for NULL ... -#include "vz_protocol.h" // for __CB_BUFFER_SIZE__ +#include <assert.h> +#include <stdlib.h> +#include "shared_variables.h" -#define RING_BUFFER_SIZE 5 +const uint8_t RING_BUFFER_SIZE = 5; typedef struct{ uint8_t size;