change boolean to bool

This commit is contained in:
Guðni Már Gilbert 2021-06-24 17:02:18 +00:00 committed by DRracer
parent 1279a6cf4b
commit 16602f4003
4 changed files with 5 additions and 5 deletions

View file

@ -375,7 +375,7 @@ bool target_direction;
//Insert variables if CHDK is defined //Insert variables if CHDK is defined
#ifdef CHDK #ifdef CHDK
unsigned long chdkHigh = 0; unsigned long chdkHigh = 0;
boolean chdkActive = false; bool chdkActive = false;
#endif #endif
//! @name RAM save/restore printing //! @name RAM save/restore printing
@ -9091,7 +9091,7 @@ Sigma_Exit:
} }
else { else {
#if EXTRUDERS > 1 #if EXTRUDERS > 1
boolean make_move = false; bool make_move = false;
#endif #endif
if (code_seen('F')) { if (code_seen('F')) {
#if EXTRUDERS > 1 #if EXTRUDERS > 1

View file

@ -231,7 +231,7 @@ static void finISR(timer16_Sequence_t timer)
#endif #endif
} }
static boolean isTimerActive(timer16_Sequence_t timer) static bool isTimerActive(timer16_Sequence_t timer)
{ {
// returns true if any servo is active on this timer // returns true if any servo is active on this timer
for(uint8_t channel=0; channel < SERVOS_PER_TIMER; channel++) { for(uint8_t channel=0; channel < SERVOS_PER_TIMER; channel++) {

View file

@ -23,7 +23,7 @@ bool cmdbuffer_front_already_processed = false;
bool cmdqueue_serial_disabled = false; bool cmdqueue_serial_disabled = false;
int serial_count = 0; //index of character read from serial line int serial_count = 0; //index of character read from serial line
boolean comment_mode = false; bool comment_mode = false;
char *strchr_pointer; // just a pointer to find chars in the command string like X, Y, Z, E, etc char *strchr_pointer; // just a pointer to find chars in the command string like X, Y, Z, E, etc
unsigned long TimeSent = _millis(); unsigned long TimeSent = _millis();

View file

@ -49,7 +49,7 @@ extern bool cmdqueue_serial_disabled;
extern uint32_t sdpos_atomic; extern uint32_t sdpos_atomic;
extern int serial_count; extern int serial_count;
extern boolean comment_mode; extern bool comment_mode;
extern char *strchr_pointer; extern char *strchr_pointer;
extern unsigned long TimeSent; extern unsigned long TimeSent;