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
|
|
@ -509,7 +509,7 @@ static void zmk_ble_ready(int err) {
|
|||
update_advertising();
|
||||
}
|
||||
|
||||
static int zmk_ble_init(struct device *_arg) {
|
||||
static int zmk_ble_init(const struct device *_arg) {
|
||||
int err = bt_enable(NULL);
|
||||
|
||||
if (err) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue