forked from espressif/esp-idf
Merge branch 'bugfix/dead_code_in_ldo_ll' into 'master'
fix(ldo): remove logically dead code Closes IDF-9829 and IDF-9849 See merge request espressif/esp-idf!30550
This commit is contained in:
@ -123,18 +123,6 @@ static inline void ldo_ll_set_output_voltage_mv(int ldo_id, int voltage_mv)
|
|||||||
mul = 7;
|
mul = 7;
|
||||||
dref = 15;
|
dref = 15;
|
||||||
}
|
}
|
||||||
if (mul > 7) {
|
|
||||||
mul = 7;
|
|
||||||
}
|
|
||||||
if (mul < 0) {
|
|
||||||
mul = 0;
|
|
||||||
}
|
|
||||||
if (dref > 15) {
|
|
||||||
dref = 15;
|
|
||||||
}
|
|
||||||
if (dref < 0) {
|
|
||||||
dref = 0;
|
|
||||||
}
|
|
||||||
/**
|
/**
|
||||||
* tieh_sel:
|
* tieh_sel:
|
||||||
* - 0: tieh;
|
* - 0: tieh;
|
||||||
|
Reference in New Issue
Block a user