Use new attribute macros in more places

This commit is contained in:
Scott Lahteine
2017-05-22 13:47:43 -05:00
parent 85b967657e
commit 34cfbc90cd
6 changed files with 55 additions and 67 deletions

View File

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