Skip to content

Commit f385982

Browse files
didrikrrlubos
authored andcommitted
drivers: lte_lc: Add missing stdbool include
Several functions in lte_lc.h takes a bool prarameter, but does not include stdbool.h. Unless saved by the order of includes, this leads to an error when compiling. Signed-off-by: Didrik Rokhaug <[email protected]>
1 parent 77a3205 commit f385982

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/lte_lc.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
#ifndef ZEPHYR_INCLUDE_LTE_LINK_CONTROL_H_
1313
#define ZEPHYR_INCLUDE_LTE_LINK_CONTROL_H_
1414

15+
#include <stdbool.h>
16+
1517
/* NOTE: enum lte_lc_nw_reg_status maps directly to the registration status
1618
* as returned by the AT command "AT+CEREG?".
1719
*/

0 commit comments

Comments
 (0)