diff options
-rw-r--r-- | common/charge_manager.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/common/charge_manager.c b/common/charge_manager.c index 1c9bac377e..da748b39a0 100644 --- a/common/charge_manager.c +++ b/common/charge_manager.c @@ -33,11 +33,11 @@ test_mockable const int supplier_priority[] = { [CHARGE_SUPPLIER_PD] = 0, [CHARGE_SUPPLIER_TYPEC] = 1, [CHARGE_SUPPLIER_PROPRIETARY] = 1, - [CHARGE_SUPPLIER_BC12_DCP] = 1, - [CHARGE_SUPPLIER_BC12_CDP] = 2, - [CHARGE_SUPPLIER_BC12_SDP] = 3, - [CHARGE_SUPPLIER_OTHER] = 3, - [CHARGE_SUPPLIER_VBUS] = 4 + [CHARGE_SUPPLIER_BC12_DCP] = 2, + [CHARGE_SUPPLIER_BC12_CDP] = 3, + [CHARGE_SUPPLIER_BC12_SDP] = 4, + [CHARGE_SUPPLIER_OTHER] = 5, + [CHARGE_SUPPLIER_VBUS] = 6 }; BUILD_ASSERT(ARRAY_SIZE(supplier_priority) == CHARGE_SUPPLIER_COUNT); |