Use (std) bool instead of custom bool types

OAI is riddled with boolean_t, FALSE, TRUE, etc. This makes no sense, as
there is a standard bool type, and could lead to nasty bugs if a
definition of a bool is non-standard (0 == false, true == !false). This
commit removes all non-standard bools in the whole project.
This commit is contained in:
Robert Schmidt
2022-06-27 10:07:48 +02:00
parent 6d030ea2fa
commit 0b91791f67
176 changed files with 1414 additions and 1573 deletions
+3 -3
View File
@@ -52,10 +52,10 @@ Description Defines structure of the AT command response returned after
/*
* Response format indicator (set by ATV0 and ATV1)
* -----------------------------------------------
* TRUE - <CR><LF><text><CR><LF>, <CR><LF><verbose code><CR><LF>
* FALSE - <text><CR><LF>, <numeric code><CR><LF>
* true - <CR><LF><text><CR><LF>, <CR><LF><verbose code><CR><LF>
* false - <text><CR><LF>, <numeric code><CR><LF>
*/
int at_response_format_v1 = TRUE;
bool at_response_format_v1 = true;
/****************************************************************************/
/******************* L O C A L D E F I N I T I O N S *******************/