refactor(app): replace struct device * with const struct device *
Replaced with RegExp: /(?<!const )(struct device \*)/g See: https://docs.zephyrproject.org/latest/releases/release-notes-2.4.html PR: #467
This commit is contained in:
parent
1411092a7b
commit
00ca0d2f1c
41 changed files with 172 additions and 163 deletions
|
|
@ -315,7 +315,7 @@ static struct bt_conn_cb conn_callbacks = {
|
|||
.disconnected = split_central_disconnected,
|
||||
};
|
||||
|
||||
int zmk_split_bt_central_init(struct device *_arg) {
|
||||
int zmk_split_bt_central_init(const struct device *_arg) {
|
||||
bt_conn_cb_register(&conn_callbacks);
|
||||
|
||||
return start_scan();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue