From e66bb207aa7b50724a486822fb47ffd54e900c34 Mon Sep 17 00:00:00 2001 From: SPRESENSE <41312067+SPRESENSE@users.noreply.github.com> Date: Mon, 24 Oct 2022 14:33:04 +0900 Subject: [PATCH] drivers/modem/alt1250: Change return type of bool function --- drivers/modem/alt1250/alt1250.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/modem/alt1250/alt1250.c b/drivers/modem/alt1250/alt1250.c index ee093d47ea..0c0654d6f7 100644 --- a/drivers/modem/alt1250/alt1250.c +++ b/drivers/modem/alt1250/alt1250.c @@ -283,9 +283,9 @@ static void write_evtbitmapwithlist(FAR struct alt1250_dev_s *dev, * Name: is_evtbitmap_avail ****************************************************************************/ -static int is_evtbitmap_avail(FAR struct alt1250_dev_s *dev) +static bool is_evtbitmap_avail(FAR struct alt1250_dev_s *dev) { - int ret; + bool ret; nxmutex_lock(&dev->evtmaplock);