File tree 3 files changed +12
-1
lines changed
hardware/arduino/avr/cores/arduino
3 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 1
- ARDUINO 1.5.8 BETA - not yet release
1
+ ARDUINO 1.5.8 BETA - not yet released
2
2
3
3
[ide]
4
4
* Find/Replace over multiple tabs (Erwin Ried, Fulvio Ieva)
@@ -11,6 +11,11 @@ ARDUINO 1.5.8 BETA - not yet release
11
11
* FileIO bridge: fixed wrong return value in File::size() for size >32768
12
12
* Updated Temboo to latest version
13
13
14
+ The following changes are included also in the (not yet released) Arduino IDE 1.0.6:
15
+
16
+ [core]
17
+ * avr: Added replacement stub for cstdlib atexit() funciton (Christopher Andrews)
18
+
14
19
ARDUINO 1.5.7 BETA - 2014.07.07
15
20
16
21
[core]
@@ -319,6 +324,7 @@ ARDUINO 1.0.6 - not yet released
319
324
* avr: Improved USB-CDC write speed (Justin Rajewski)
320
325
* avr: Improved USB-CDC read code (Paul Brook)
321
326
* avr: Fixed race condition in USB-CDC transmit (Paul Brook)
327
+ * avr: Added replacement stub for cstdlib atexit() funciton (Christopher Andrews)
322
328
* Fixed wrong NULL pointer handling in Stream class (Amulya Kumar Sahoo)
323
329
* Backported String class from IDE 1.5.x (Matt Jenkins)
324
330
* Backported Print class from IDE 1.5.x
Original file line number Diff line number Diff line change @@ -120,6 +120,8 @@ typedef uint8_t byte;
120
120
void init (void );
121
121
void initVariant (void );
122
122
123
+ int atexit (void (* func )()) __attribute__((weak ));
124
+
123
125
void pinMode (uint8_t , uint8_t );
124
126
void digitalWrite (uint8_t , uint8_t );
125
127
int digitalRead (uint8_t );
Original file line number Diff line number Diff line change 19
19
20
20
#include < Arduino.h>
21
21
22
+ // Declared weak in Arduino.h to allow user redefinitions.
23
+ int atexit (void (*func)()) { return 0 ; }
24
+
22
25
// Weak empty variant initialization function.
23
26
// May be redefined by variant files.
24
27
void initVariant () __attribute__((weak));
You can’t perform that action at this time.
0 commit comments