Fix code style
This commit is contained in:
parent
9b37e4b7fb
commit
d98d8f586f
@ -144,7 +144,7 @@ button_hal_get_by_id(uint8_t unique_id)
|
||||
|
||||
for(button = button_hal_buttons; *button != NULL; button++) {
|
||||
if((*button)->unique_id == unique_id) {
|
||||
return (*button);
|
||||
return *button;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user