Skip to content

Commit

Permalink
use fix voltage instead
Browse files Browse the repository at this point in the history
When there is only a current sensor and no voltage sensor, a fixed voltage value is used instead of the actual voltage value.
  • Loading branch information
ccccmagicboy committed Jul 7, 2020
1 parent 9546847 commit 5e19511
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/inc/Conditionals_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@
#if EITHER(POWER_MONITOR_CURRENT, POWER_MONITOR_VOLTAGE)
#define HAS_POWER_MONITOR 1
#endif
#if ENABLED(POWER_MONITOR_VOLTAGE) && defined(POWER_MONITOR_FIXED_VOLTAGE)
#if ENABLED(POWER_MONITOR_CURRENT) && defined(POWER_MONITOR_FIXED_VOLTAGE)
#define HAS_POWER_MONITOR_VREF 1
#endif
#if BOTH(HAS_POWER_MONITOR_VREF, POWER_MONITOR_CURRENT)
Expand Down

0 comments on commit 5e19511

Please sign in to comment.