You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by an...@apache.org on 2022/03/17 12:13:11 UTC
[mynewt-nimble] 01/02: nimble/transport: Fix typo
This is an automated email from the ASF dual-hosted git repository.
andk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git
commit 847c04726899801b5fae11efb34e2e94089401c2
Author: Andrzej Kaczmarek <an...@codecoup.pl>
AuthorDate: Thu Mar 17 12:05:05 2022 +0100
nimble/transport: Fix typo
---
nimble/transport/src/transport.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/nimble/transport/src/transport.c b/nimble/transport/src/transport.c
index 1eea5ad..0a641a8 100644
--- a/nimble/transport/src/transport.c
+++ b/nimble/transport/src/transport.c
@@ -80,11 +80,11 @@ ble_transport_alloc_cmd(void)
}
void *
-ble_transport_alloc_evt(int discarcable)
+ble_transport_alloc_evt(int discardable)
{
void *buf;
- if (discarcable) {
+ if (discardable) {
buf = os_memblock_get(&pool_evt_lo);
} else {
buf = os_memblock_get(&pool_evt);