mirror of
https://github.com/raspberrypi/pico-sdk.git
synced 2025-12-10 07:14:36 +01:00
fix compiler warning (#1193)
This commit is contained in:
parent
0cfeec253a
commit
9a5eae111b
1 changed files with 2 additions and 2 deletions
|
|
@ -95,10 +95,10 @@ static void cyw43_do_poll(async_context_t *context, __unused async_when_pending_
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void cyw43_sleep_timeout_reached(async_context_t *context, async_at_time_worker_t *worker) {
|
static void cyw43_sleep_timeout_reached(async_context_t *context, __unused async_at_time_worker_t *worker) {
|
||||||
assert(context == cyw43_async_context);
|
assert(context == cyw43_async_context);
|
||||||
assert(worker == &sleep_timeout_worker);
|
assert(worker == &sleep_timeout_worker);
|
||||||
async_context_set_work_pending(cyw43_async_context, &cyw43_poll_worker);
|
async_context_set_work_pending(context, &cyw43_poll_worker);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool cyw43_driver_init(async_context_t *context) {
|
bool cyw43_driver_init(async_context_t *context) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue