Browse Source

Show fixed V in Power Display with no V sensor (#18579)

cccc 5 years ago
parent
commit
1815866877
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/inc/Conditionals_adv.h

+ 1
- 1
Marlin/src/inc/Conditionals_adv.h View File

356
 #if EITHER(POWER_MONITOR_CURRENT, POWER_MONITOR_VOLTAGE)
356
 #if EITHER(POWER_MONITOR_CURRENT, POWER_MONITOR_VOLTAGE)
357
   #define HAS_POWER_MONITOR 1
357
   #define HAS_POWER_MONITOR 1
358
 #endif
358
 #endif
359
-#if ENABLED(POWER_MONITOR_VOLTAGE) && defined(POWER_MONITOR_FIXED_VOLTAGE)
359
+#if ENABLED(POWER_MONITOR_CURRENT) && defined(POWER_MONITOR_FIXED_VOLTAGE)
360
   #define HAS_POWER_MONITOR_VREF 1
360
   #define HAS_POWER_MONITOR_VREF 1
361
 #endif
361
 #endif
362
 #if BOTH(HAS_POWER_MONITOR_VREF, POWER_MONITOR_CURRENT)
362
 #if BOTH(HAS_POWER_MONITOR_VREF, POWER_MONITOR_CURRENT)

Loading…
Cancel
Save