Oregegon scientific decoder V2.1 and V3

Dependents:   Oregon_Decoder_V2_V3

Oregon decoding Library.

It manages protocoles V2.1 and V3.

To be used with RTOS OS2 or MBED V5

Revision:
9:ac5060331882
Parent:
4:2116aa7985d1
Child:
10:412804556eb7
--- a/Regul.h	Sat Apr 25 10:29:16 2020 +0000
+++ b/Regul.h	Sat Apr 25 10:54:55 2020 +0000
@@ -1,10 +1,10 @@
 extern Serial pc;
 
 //#define __DEBUG__
-#define O_Level 1
-#define O_DBG(x, ...) if (O_Level>=3) pc.printf("[DBG]"x"\r\n", ##__VA_ARGS__); 
-#define O_WARN(x, ...) if (O_Level>=2) pc.printf("[WARN]"x"\r\n", ##__VA_ARGS__); 
-#define O_ERR(x, ...) if (O_Level>=1) pc.printf("[ERR]"x"\r\n", ##__VA_ARGS__); 
+
+#define DBG(x, ...) if (Level>=3) pc.printf("[DBG]"x"\r\n", ##__VA_ARGS__); 
+#define WARN(x, ...) if (Level>=2) pc.printf("[WARN]"x"\r\n", ##__VA_ARGS__); 
+#define ERR(x, ...) if (Level>=1) pc.printf("[ERR]"x"\r\n", ##__VA_ARGS__); 
 
 #define BUF_SIZE 1024