From 16602f40033d280fcc4853dc25a56a52c2fb14e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gu=C3=B0ni=20M=C3=A1r=20Gilbert?= Date: Thu, 24 Jun 2021 17:02:18 +0000 Subject: [PATCH] change boolean to bool --- Firmware/Marlin_main.cpp | 4 ++-- Firmware/Servo.cpp | 2 +- Firmware/cmdqueue.cpp | 2 +- Firmware/cmdqueue.h | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Firmware/Marlin_main.cpp b/Firmware/Marlin_main.cpp index d1bc83a15..0ea90a257 100755 --- a/Firmware/Marlin_main.cpp +++ b/Firmware/Marlin_main.cpp @@ -375,7 +375,7 @@ bool target_direction; //Insert variables if CHDK is defined #ifdef CHDK unsigned long chdkHigh = 0; -boolean chdkActive = false; +bool chdkActive = false; #endif //! @name RAM save/restore printing @@ -9091,7 +9091,7 @@ Sigma_Exit: } else { #if EXTRUDERS > 1 - boolean make_move = false; + bool make_move = false; #endif if (code_seen('F')) { #if EXTRUDERS > 1 diff --git a/Firmware/Servo.cpp b/Firmware/Servo.cpp index 5f8c7efe3..bcb4b074f 100644 --- a/Firmware/Servo.cpp +++ b/Firmware/Servo.cpp @@ -231,7 +231,7 @@ static void finISR(timer16_Sequence_t timer) #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 for(uint8_t channel=0; channel < SERVOS_PER_TIMER; channel++) { diff --git a/Firmware/cmdqueue.cpp b/Firmware/cmdqueue.cpp index 3bde33362..b4ea9be41 100755 --- a/Firmware/cmdqueue.cpp +++ b/Firmware/cmdqueue.cpp @@ -23,7 +23,7 @@ bool cmdbuffer_front_already_processed = false; bool cmdqueue_serial_disabled = false; 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 unsigned long TimeSent = _millis(); diff --git a/Firmware/cmdqueue.h b/Firmware/cmdqueue.h index bb9e174dc..dfd2fee9b 100644 --- a/Firmware/cmdqueue.h +++ b/Firmware/cmdqueue.h @@ -49,7 +49,7 @@ extern bool cmdqueue_serial_disabled; extern uint32_t sdpos_atomic; extern int serial_count; -extern boolean comment_mode; +extern bool comment_mode; extern char *strchr_pointer; extern unsigned long TimeSent;