Americanized English spelling

This commit is contained in:
Scott Lahteine 2018-10-30 18:55:18 -05:00
parent 9e663a624b
commit 4ed579cafc
2 changed files with 4 additions and 4 deletions

View file

@ -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;
} }
} }

View file

@ -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!"