We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41dc411 commit cc683bbCopy full SHA for cc683bb
src/CommonHelix.h
@@ -1,21 +1,20 @@
1
#pragma once
2
3
#ifdef ARDUINO
4
-#include "Arduino.h"
+# include "Arduino.h"
5
#else
6
-// remove yield statment if used outside of arduino
7
-#define yield()
8
-//#define delay(ms)
9
-#include <stdint.h>
+// remove delay statment if used outside of arduino
+# include <stdint.h>
+# define delay(ms)
10
#endif
11
12
// Not all processors support assert
13
#ifndef assert
14
-#ifdef NDEBUG
+# ifdef NDEBUG
15
# define assert(condition) ((void)0)
16
-#else
+# else
17
# define assert(condition) /*implementation defined*/
18
-#endif
+# endif
19
20
21
#include "helix_log.h"
0 commit comments