add header guards to buffer h

This commit is contained in:
2021-04-29 01:45:30 +02:00
parent 911967c9cc
commit 852a2ef8a5

View File

@@ -1,3 +1,6 @@
#ifndef _BUFFER_H_
#define _BUFFER_H_
#include <stdint.h>
#define BUFFER_SIZE 200
@@ -9,3 +12,5 @@ typedef struct {
void insert_to_buffer(uint16_t val, volatile buffer_t* buf);
float get_buffer_mean(volatile buffer_t* buf);
#endif//_BUFFER_H_