You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
under the Power Supply Control section, if I enable PSU_CONTROL and AUTO_POWER_CONTROL, but disable POWER_TIMEOUT, I get the following build failure from PIO:
from Marlin\src\feature\../inc/MarlinConfig.h:54,
from Marlin\src\feature\power.cpp:27:
Marlin\src\feature\power.cpp: In static member function 'static void Power::check()':
Marlin\src\feature\power.cpp:109:66: error: 'POWER_TIMEOUT' was not declared in this scope; did you mean 'ERR_TIMOUT'?
109 | else if (!lastPowerOn || ELAPSED(ms, lastPowerOn + SEC_TO_MS(POWER_TIMEOUT)))
| ^~~~~~~~~~~~~
c:\marlin_git\marlin\marlin\src\core\millis_t.h:32:43: note: in definition of macro 'PENDING'
32 | #define PENDING(NOW,SOON) ((int32_t)(NOW-(SOON))<0)
| ^~~~
Marlin\src\feature\power.cpp:109:30: note: in expansion of macro 'ELAPSED'
109 | else if (!lastPowerOn || ELAPSED(ms, lastPowerOn + SEC_TO_MS(POWER_TIMEOUT)))
| ^~~~~~~
Marlin\src\feature\power.cpp:109:56: note: in expansion of macro 'SEC_TO_MS'
109 | else if (!lastPowerOn || ELAPSED(ms, lastPowerOn + SEC_TO_MS(POWER_TIMEOUT)))
| ^~~~~~~~~
*** [.pio\build\LPC1768\src\src\feature\power.cpp.o] Error 1
This issue has had no activity in the last 60 days. Please add a reply if you want to keep this issue active, otherwise it will be automatically closed within 10 days.
Did you test the latest
bugfix-2.0.x
code?Yes, and the problem still exists.
Bug Description
under the Power Supply Control section, if I enable PSU_CONTROL and AUTO_POWER_CONTROL, but disable POWER_TIMEOUT, I get the following build failure from PIO:
Bug Timeline
New
Expected behavior
I expect it to build with timeout disabled
Actual behavior
It doesn't build
Steps to Reproduce
No response
Version of Marlin Firmware
2.0.x-bugfix (Distribution date 2021-03-29)
Printer model
Custom
Electronics
BTT SKR 1.3
Add-ons
No response
Your Slicer
No response
Host Software
No response
Marlin SKR 1.3 files.zip
PIO Build Failure.log
The text was updated successfully, but these errors were encountered: