Americanized English spelling
This commit is contained in:
parent
9e663a624b
commit
4ed579cafc
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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…
Reference in New Issue
Block a user