{"comment":{"url":"https://api.github.com/repos/Palatis/Sailfish-MightyBoardFirmware/comments/15719179","html_url":"https://github.com/Palatis/Sailfish-MightyBoardFirmware/commit/77f5673a47ae61a376e61ce18ec38d34901bea2c#commitcomment-15719179","id":15719179,"user":{"login":"dcnewman","id":1427659,"avatar_url":"https://avatars.githubusercontent.com/u/1427659?v=3","gravatar_id":"","url":"https://api.github.com/users/dcnewman","html_url":"https://github.com/dcnewman","followers_url":"https://api.github.com/users/dcnewman/followers","following_url":"https://api.github.com/users/dcnewman/following{/other_user}","gists_url":"https://api.github.com/users/dcnewman/gists{/gist_id}","starred_url":"https://api.github.com/users/dcnewman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcnewman/subscriptions","organizations_url":"https://api.github.com/users/dcnewman/orgs","repos_url":"https://api.github.com/users/dcnewman/repos","events_url":"https://api.github.com/users/dcnewman/events{/privacy}","received_events_url":"https://api.github.com/users/dcnewman/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":"","commit_id":"77f5673a47ae61a376e61ce18ec38d34901bea2c","created_at":"2016-01-27T22:04:33Z","updated_at":"2016-01-27T22:04:33Z","body":"Fixed a bug whereby changing the HBP temp was then disabling management of the HBP heater.  Logic was inverted in call to setUsingPlatform(altTemp == 0).  Indeed, now that I think of it, that call needs to never pass false. The routine is really only supposed to be called on power-up to tell the firmware that there is indeed an HBP present so manage it.  Since someone can, from the Utilities menu, set the HBP being present post-boot, there's a call in Command.cc to ensure that it is enabled if any command is received to use the HBP, even one to turn it off.  That's a safety measure: if it isn't being managed, then a command to turn it off by setting the temp to 0 will go unseen....\r\n\r\nAlso, I'll add in the necessary code (hopefully it fits) for dealing with gcodeTempOverride.  When the HBP temp is altered via the LCD display, the code for executing temp overrides of gcode needs to know.  If it doesn't know and it is enabled, it will then toss the operator updated temp and use the pre-heat temp."}}