Skip to content

Commit e379ce4

Browse files
committed
small change to ensure the zio_local_definitions.h is always included first. Test fix
1 parent 065cc71 commit e379ce4

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

src/SimpleCollections.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
#include <string.h>
1414
#include <inttypes.h>
15+
#include <SCThreadingSupport.h>
1516

1617
namespace tccollection {
1718

tests/collectionTests/CircularBufferTest.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ test(testThreadedWriterAndReader) {
8686
else vPortYield();
8787
}
8888

89-
assertMore(myCount, (uint8_t)198);
90-
assertMore(itemsReceived, (uint8_t)190);
89+
assertMoreThan((uint8_t)198, myCount);
90+
assertMoreThan((uint8_t)190, itemsReceived);
9191
}
9292

9393
#endif

0 commit comments

Comments
 (0)