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:
@@ -55,10 +55,10 @@ extern int at_response_format_v1;
|
||||
/*
|
||||
* Result code suppression indicator (set by ATQ0 and ATQ1)
|
||||
* -------------------------------------------------------
|
||||
* FALSE - Result codes are transmitted to the user application
|
||||
* TRUE - Result codes are suppressed and not transmitted
|
||||
* false - Result codes are transmitted to the user application
|
||||
* true - Result codes are suppressed and not transmitted
|
||||
*/
|
||||
int at_error_code_suppression_q1 = FALSE;
|
||||
bool at_error_code_suppression_q1 = false;
|
||||
|
||||
/*
|
||||
* Verbose mode indicator (set by ATV0, ATV1 and AT+CMEE)
|
||||
|
||||
Reference in New Issue
Block a user