mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
fix(ldo): remove logically dead code
This commit is contained in:
parent
3ec83ef1da
commit
c64c910955
@ -123,18 +123,6 @@ static inline void ldo_ll_set_output_voltage_mv(int ldo_id, int voltage_mv)
|
||||
mul = 7;
|
||||
dref = 15;
|
||||
}
|
||||
if (mul > 7) {
|
||||
mul = 7;
|
||||
}
|
||||
if (mul < 0) {
|
||||
mul = 0;
|
||||
}
|
||||
if (dref > 15) {
|
||||
dref = 15;
|
||||
}
|
||||
if (dref < 0) {
|
||||
dref = 0;
|
||||
}
|
||||
/**
|
||||
* tieh_sel:
|
||||
* - 0: tieh;
|
||||
|
Loading…
x
Reference in New Issue
Block a user