Skip to content

Commit 25fe198

Browse files
committed
add a ringbuffer header that is in our include paths, that includes the real one
1 parent 1b232c9 commit 25fe198

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

core-api/RingBuffer.h

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/*
2+
// This file is subject to the terms and conditions defined in
3+
// file 'LICENSE.md', which is part of this source code package.
4+
*/
5+
6+
//I absolutely hate this work-around, but including core-api/api in my include paths just breaks everything
7+
//Most functionality is included via mbed-bridge/Arduino.h, but this header keeps causing problem for people
8+
//because it is included directly by many libraries... so here we are.
9+
10+
//It would be nice to get to the point where including core-api/api in my include paths doesn't break everything, but until then this works.
11+
12+
#ifndef _ARDUINO_MBED_BRIDGE_CORE_API_RINGBUFFER_H_
13+
#define _ARDUINO_MBED_BRIDGE_CORE_API_RINGBUFFER_H_
14+
15+
#include "core-api/api/RingBuffer.h"
16+
17+
#endif // _ARDUINO_MBED_BRIDGE_CORE_API_RINGBUFFER_H_

0 commit comments

Comments
 (0)