Browse Source

Americanized English spelling

pull/1/head
Scott Lahteine 6 years ago
parent
commit
4ed579cafc
  1. 6
      Marlin/src/HAL/HAL_STM32/HAL_timers_STM32.cpp
  2. 2
      Marlin/src/HAL/HAL_TEENSY31_32/HAL_spi_Teensy.cpp

6
Marlin/src/HAL/HAL_STM32/HAL_timers_STM32.cpp

@ -66,11 +66,11 @@ stm32f4_timer_t TimerHandle[NUM_HARDWARE_TIMERS];
// Public functions // Public functions
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
bool timers_initialised[NUM_HARDWARE_TIMERS] = {false}; bool timers_initialized[NUM_HARDWARE_TIMERS] = { false };
void HAL_timer_start(const uint8_t timer_num, const uint32_t frequency) { void HAL_timer_start(const uint8_t timer_num, const uint32_t frequency) {
if (!timers_initialised[timer_num]) { if (!timers_initialized[timer_num]) {
uint32_t step_prescaler = STEPPER_TIMER_PRESCALE - 1, uint32_t step_prescaler = STEPPER_TIMER_PRESCALE - 1,
temp_prescaler = TEMP_TIMER_PRESCALE - 1; temp_prescaler = TEMP_TIMER_PRESCALE - 1;
switch (timer_num) { switch (timer_num) {
@ -90,7 +90,7 @@ void HAL_timer_start(const uint8_t timer_num, const uint32_t frequency) {
HAL_NVIC_SetPriority(TEMP_TIMER_IRQ_NAME, TEMP_TIMER_IRQ_PRIO, 0); HAL_NVIC_SetPriority(TEMP_TIMER_IRQ_NAME, TEMP_TIMER_IRQ_PRIO, 0);
break; break;
} }
timers_initialised[timer_num] = true; timers_initialized[timer_num] = true;
} }
} }

2
Marlin/src/HAL/HAL_TEENSY31_32/HAL_spi_Teensy.cpp

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

Loading…
Cancel
Save