config: Ensure VBUS measurement consistency
Fail to build a board that defines
CONFIG_USB_PD_VBUS_MEASURE_NOT_PRESENT when it uses a charger that can
measure VBUS.
TEST=make buildall
BRANCH=none
defined(CONFIG_CHARGER_BQ25710) || \
defined(CONFIG_CHARGER_ISL9241)
#define CONFIG_USB_PD_VBUS_MEASURE_CHARGER
+
+#ifdef CONFIG_USB_PD_VBUS_MEASURE_NOT_PRESENT
+#error CONFIG_USB_PD_VBUS_MEASURE_NOT_PRESENT defined, but charger can measure
+#endif
#endif
/*****************************************************************************/
