Merge pull request #15963 from aabadie/pr/tests/driver_bq2429_bug
tests/driver_bq2429x: fix implicit conversion in helper function
This commit is contained in:
commit
6d0942a863
@ -186,9 +186,9 @@ static inline const char *_util_chrg_stat_to_str(bq2429x_chrg_stat_t stat)
|
|||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline const char *_util_chrg_fault_to_str(bq2429x_chrg_stat_t stat)
|
static inline const char *_util_chrg_fault_to_str(bq2429x_chrg_fault_t fault)
|
||||||
{
|
{
|
||||||
switch (stat) {
|
switch (fault) {
|
||||||
case BQ2429x_CHRG_FAULT_NORMAL:
|
case BQ2429x_CHRG_FAULT_NORMAL:
|
||||||
return "Normal";
|
return "Normal";
|
||||||
case BQ2429x_CHRG_FAULT_INPUT:
|
case BQ2429x_CHRG_FAULT_INPUT:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user