From 64a96819358aae48090b9908e36b6a9447596aee Mon Sep 17 00:00:00 2001 From: Federico Fissore Date: Mon, 6 Jan 2014 09:48:34 +0100 Subject: Added new EULER constant. Fixes #1792 --- cores/arduino/Arduino.h | 1 + 1 file changed, 1 insertion(+) (limited to 'cores/arduino') diff --git a/cores/arduino/Arduino.h b/cores/arduino/Arduino.h index de1886d..9c57d54 100644 --- a/cores/arduino/Arduino.h +++ b/cores/arduino/Arduino.h @@ -32,6 +32,7 @@ void yield(void); #define TWO_PI 6.283185307179586476925286766559 #define DEG_TO_RAD 0.017453292519943295769236907684886 #define RAD_TO_DEG 57.295779513082320876798154814105 +#define EULER = 2.718281828459045235360287471352 #define SERIAL 0x0 #define DISPLAY 0x1 -- cgit v1.2.3-18-g5258 From 1c99bf0e83df45a1eccbfb9773deaf12a8b54923 Mon Sep 17 00:00:00 2001 From: Federico Fissore Date: Mon, 6 Jan 2014 18:20:37 +0100 Subject: Removed = char from #define. See https://github.com/arduino/Arduino/issues/1792#issuecomment-31650586 --- cores/arduino/Arduino.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cores/arduino') diff --git a/cores/arduino/Arduino.h b/cores/arduino/Arduino.h index 9c57d54..7bf5119 100644 --- a/cores/arduino/Arduino.h +++ b/cores/arduino/Arduino.h @@ -32,7 +32,7 @@ void yield(void); #define TWO_PI 6.283185307179586476925286766559 #define DEG_TO_RAD 0.017453292519943295769236907684886 #define RAD_TO_DEG 57.295779513082320876798154814105 -#define EULER = 2.718281828459045235360287471352 +#define EULER 2.718281828459045235360287471352 #define SERIAL 0x0 #define DISPLAY 0x1 -- cgit v1.2.3-18-g5258