From a1e42b551894fcdbfb3392ec9e8d766607a08e15 Mon Sep 17 00:00:00 2001 From: kimocoder Date: Sat, 1 Feb 2020 09:29:07 +0100 Subject: [PATCH] phydm_ccx: Fix implicit enum conversion --- hal/phydm/phydm_ccx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hal/phydm/phydm_ccx.c b/hal/phydm/phydm_ccx.c index 7ac54da..f9ea9bb 100644 --- a/hal/phydm/phydm_ccx.c +++ b/hal/phydm/phydm_ccx.c @@ -1364,7 +1364,7 @@ u8 phydm_clm_mntr_set(void *dm_void, struct clm_para_info *clm_para) return PHYDM_SET_FAIL; } - if (phydm_clm_racing_ctrl(dm, clm_para->clm_lv) == PHYDM_SET_FAIL) + if (phydm_clm_racing_ctrl(dm, (enum phydm_nhm_level)clm_para->clm_lv) == PHYDM_SET_FAIL) return PHYDM_SET_FAIL; if (clm_para->mntr_time >= 262)