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

This commit is contained in:
cccc 2020-07-08 18:02:40 +08:00 committed by GitHub
parent f52a1eb111
commit 1815866877
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -356,7 +356,7 @@
#if EITHER(POWER_MONITOR_CURRENT, POWER_MONITOR_VOLTAGE) #if EITHER(POWER_MONITOR_CURRENT, POWER_MONITOR_VOLTAGE)
#define HAS_POWER_MONITOR 1 #define HAS_POWER_MONITOR 1
#endif #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 #define HAS_POWER_MONITOR_VREF 1
#endif #endif
#if BOTH(HAS_POWER_MONITOR_VREF, POWER_MONITOR_CURRENT) #if BOTH(HAS_POWER_MONITOR_VREF, POWER_MONITOR_CURRENT)