Skip to content

Commit c8ac20f

Browse files
Thalleydanieldegrasse
authored andcommitted
Bluetooth: Audio: Add missing default case for bt_audio_dir_str
The switch was missing a default case as per the coding guidelines. Signed-off-by: Emil Gydesen <[email protected]>
1 parent ae6b33b commit c8ac20f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

subsys/bluetooth/audio/audio_internal.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,9 @@ static inline const char *bt_audio_dir_str(enum bt_audio_dir dir)
7575
return "sink";
7676
case BT_AUDIO_DIR_SOURCE:
7777
return "source";
78+
default:
79+
return "Unknown";
7880
}
79-
80-
return "Unknown";
8181
}
8282

8383
bool bt_audio_valid_ltv(const uint8_t *data, uint8_t data_len);

0 commit comments

Comments
 (0)