Browse Source

change boolean to bool

Guðni Már Gilbert 2 years ago
parent
commit
16602f4003
4 changed files with 5 additions and 5 deletions
  1. 2 2
      Firmware/Marlin_main.cpp
  2. 1 1
      Firmware/Servo.cpp
  3. 1 1
      Firmware/cmdqueue.cpp
  4. 1 1
      Firmware/cmdqueue.h

+ 2 - 2
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

+ 1 - 1
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++) {

+ 1 - 1
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();

+ 1 - 1
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;