Browse Source

Americanized English spelling

Scott Lahteine 6 years ago
parent
commit
4ed579cafc

+ 3
- 3
Marlin/src/HAL/HAL_STM32/HAL_timers_STM32.cpp View File

@@ -66,11 +66,11 @@ stm32f4_timer_t TimerHandle[NUM_HARDWARE_TIMERS];
66 66
 // Public functions
67 67
 // --------------------------------------------------------------------------
68 68
 
69
-bool timers_initialised[NUM_HARDWARE_TIMERS] = {false};
69
+bool timers_initialized[NUM_HARDWARE_TIMERS] = { false };
70 70
 
71 71
 void HAL_timer_start(const uint8_t timer_num, const uint32_t frequency) {
72 72
 
73
-  if (!timers_initialised[timer_num]) {
73
+  if (!timers_initialized[timer_num]) {
74 74
     uint32_t step_prescaler = STEPPER_TIMER_PRESCALE - 1,
75 75
                        temp_prescaler = TEMP_TIMER_PRESCALE - 1;
76 76
     switch (timer_num) {
@@ -90,7 +90,7 @@ void HAL_timer_start(const uint8_t timer_num, const uint32_t frequency) {
90 90
         HAL_NVIC_SetPriority(TEMP_TIMER_IRQ_NAME, TEMP_TIMER_IRQ_PRIO, 0);
91 91
         break;
92 92
     }
93
-    timers_initialised[timer_num] = true;
93
+    timers_initialized[timer_num] = true;
94 94
   }
95 95
 }
96 96
 

+ 1
- 1
Marlin/src/HAL/HAL_TEENSY31_32/HAL_spi_Teensy.cpp View File

@@ -33,7 +33,7 @@ static SPISettings spiConfig;
33 33
  * Standard SPI functions
34 34
  */
35 35
 
36
-// Initialise SPI bus
36
+// Initialize SPI bus
37 37
 void spiBegin(void) {
38 38
   #if !PIN_EXISTS(SS)
39 39
     #error "SS_PIN not defined!"

Loading…
Cancel
Save