diff --git a/firmware/util/containers/cyclic_buffer.cpp b/firmware/util/containers/cyclic_buffer.cpp deleted file mode 100644 index 95b0ad9213..0000000000 --- a/firmware/util/containers/cyclic_buffer.cpp +++ /dev/null @@ -1,10 +0,0 @@ -/** - * @file cyclic_buffer.cpp - * - * @date Dec 8, 2013 - * @author Andrey Belomutskiy, Daniel Hill (c) 2012-2014 - * @author Daniel Hill - Modified to use C++ - Mar 2, 2014 - */ - -#include "cyclic_buffer.h" -#include diff --git a/firmware/util/containers/cyclic_buffer.h b/firmware/util/containers/cyclic_buffer.h index 1a6af0acbb..6cf43dc32a 100644 --- a/firmware/util/containers/cyclic_buffer.h +++ b/firmware/util/containers/cyclic_buffer.h @@ -10,8 +10,7 @@ * Daniel Hill - Modified to use C++ - Mar 2, 2014 */ -#ifndef CYCLIC_BUFFER_H -#define CYCLIC_BUFFER_H +#pragma once #include #include @@ -178,5 +177,3 @@ void cyclic_buffer::clear() { count = 0; currentIndex = 0; } - -#endif //CYCLIC_BUFFER_H diff --git a/firmware/util/util.mk b/firmware/util/util.mk index 7dd6c70df8..2b7cc49205 100644 --- a/firmware/util/util.mk +++ b/firmware/util/util.mk @@ -6,7 +6,6 @@ UTILSRC = \ UTILSRC_CPP = \ $(UTIL_DIR)/histogram.cpp \ - $(UTIL_DIR)/containers/cyclic_buffer.cpp \ $(UTIL_DIR)/containers/listener_array.cpp \ $(UTIL_DIR)/containers/local_version_holder.cpp \ $(UTIL_DIR)/containers/table_helper.cpp \