diff options
| author | JF <jf@codingfield.com> | 2021-02-04 16:36:34 (GMT) |
|---|---|---|
| committer | Gitea <gitea@fake.local> | 2021-02-04 16:36:34 (GMT) |
| commit | 3f7360ca186933b600d362c12e7c62d9df509aa4 (patch) | |
| tree | 9e7bff44e541526ae50b183a64cfe1d22a13cc56 /src/libs/mynewt-nimble/apps/blemesh_shell | |
| parent | 76ab14fa5f7979dd764b449396dc5835a286ec6d (diff) | |
| parent | 6259b816287f8f74dadf50334a445cd9fe16d415 (diff) | |
Merge branch 'develop' of JF/PineTime into master
Diffstat (limited to 'src/libs/mynewt-nimble/apps/blemesh_shell')
| -rw-r--r-- | src/libs/mynewt-nimble/apps/blemesh_shell/src/main.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libs/mynewt-nimble/apps/blemesh_shell/src/main.c b/src/libs/mynewt-nimble/apps/blemesh_shell/src/main.c index 4ad23e1..fcf8012 100644 --- a/src/libs/mynewt-nimble/apps/blemesh_shell/src/main.c +++ b/src/libs/mynewt-nimble/apps/blemesh_shell/src/main.c @@ -44,21 +44,21 @@ void net_recv_ev(uint8_t ttl, uint8_t ctl, uint16_t src, uint16_t dst, payload_len); } -static void model_bound_cb(u16_t addr, struct bt_mesh_model *model, - u16_t key_idx) +static void model_bound_cb(uint16_t addr, struct bt_mesh_model *model, + uint16_t key_idx) { console_printf("Model bound: remote addr 0x%04x key_idx 0x%04x model %p\n", addr, key_idx, model); } -static void model_unbound_cb(u16_t addr, struct bt_mesh_model *model, - u16_t key_idx) +static void model_unbound_cb(uint16_t addr, struct bt_mesh_model *model, + uint16_t key_idx) { console_printf("Model unbound: remote addr 0x%04x key_idx 0x%04x " "model %p\n", addr, key_idx, model); } -static void invalid_bearer_cb(u8_t opcode) +static void invalid_bearer_cb(uint8_t opcode) { console_printf("Invalid bearer: opcode 0x%02x\n", opcode); } |
