mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
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 "";
|
||||
}
|
||||
|
||||
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:
|
||||
return "Normal";
|
||||
case BQ2429x_CHRG_FAULT_INPUT:
|
||||
|
Loading…
Reference in New Issue
Block a user