Patches to work around "register spill" compiler bug

This commit is contained in:
Scott Lahteine
2017-03-18 10:18:40 -05:00
parent be7dd90382
commit 6618346148
2 changed files with 15 additions and 1 deletions

View File

@ -241,7 +241,8 @@ class Temperature {
/**
* Call periodically to manage heaters
*/
static void manage_heater();
//static void manage_heater(); // changed to address compiler error
static void manage_heater() __attribute__((__optimize__("O2")));
/**
* Preheating hotends