File tree Expand file tree Collapse file tree 3 files changed +13
-6
lines changed
Expand file tree Collapse file tree 3 files changed +13
-6
lines changed Original file line number Diff line number Diff line change 11Change Log
22
3+ vD4.5.1 20161213 SCL
4+ - fix broken watchdog when compiling with AVR 1.6.10+. optimizer was
5+ eliminating wdt_init(), so we add "used" attribute to it
6+ - Adafruit_TMP007.cpp - fix 1.6.10+ compiler warning
7+ - turn on RAPI_SEQUENCE_ID by default
8+ - compile with AVR board support 1.6.10+ from now on to save 2K+ code space
9+ if using an older compiler and output is too big,
10+ disable RAPI_SEQUENCE_ID
11+
31220161212 SCL
413- fix compile errors when GFI not defined
514- fix compile errors when AUTH_LOCK && !RAPI
Original file line number Diff line number Diff line change 3737#else
3838#include " WProgram.h" // shouldn't need this but arduino sometimes messes up and puts inside an #ifdef
3939#endif // ARDUINO
40-
41- #define VERSION " D4.4.0"
40+ #define VERSION " D4.5.1"
4241
4342#include " Language_default.h" // Default language should always be included as bottom layer
4443
4544// Language preferences: Add your custom languagefile here. See Language_default.h for more info.
4645// #include "Language_norwegian.h"
4746
48- // #define NOCHECKS
49-
5047// -- begin features
5148
5249// auto detect L1/L2
6865#define RAPI
6966
7067// optional sequence id can be inserted as last parameter to commands/responses
71- // #define RAPI_SEQUENCE_ID
68+ #define RAPI_SEQUENCE_ID
7269
7370// add checksum to RAPI responses RAPI v2.0.0+
7471#define RAPI_RESPONSE_CHK
Original file line number Diff line number Diff line change @@ -235,7 +235,8 @@ void EvseReset();
235235
236236// wdt_init turns off the watchdog timer after we use it
237237// to reboot
238- void wdt_init (void ) __attribute__((naked)) __attribute__((section(" .init3" )));
238+
239+ void wdt_init (void ) __attribute__((naked,used)) __attribute__((section(" .init3" )));
239240void wdt_init (void )
240241{
241242 MCUSR = 0 ;
You can’t perform that action at this time.
0 commit comments