📝 KHz => kHz (#23512)

This commit is contained in:
Keith Bennett
2022-01-12 08:24:56 -08:00
committed by GitHub
parent 9086082c1f
commit 3e2a38b653
30 changed files with 52 additions and 52 deletions

View File

@@ -352,7 +352,7 @@ void Endstops::init() {
} // Endstops::init
// Called at ~1KHz from Temperature ISR: Poll endstop state if required
// Called at ~1kHz from Temperature ISR: Poll endstop state if required
void Endstops::poll() {
TERN_(PINS_DEBUGGING, run_monitor()); // Report changes in endstop status
@@ -403,7 +403,7 @@ void Endstops::not_homing() {
void Endstops::resync() {
if (!abort_enabled()) return; // If endstops/probes are disabled the loop below can hang
// Wait for Temperature ISR to run at least once (runs at 1KHz)
// Wait for Temperature ISR to run at least once (runs at 1kHz)
TERN(ENDSTOP_INTERRUPTS_FEATURE, update(), safe_delay(2));
while (TERN0(ENDSTOP_NOISE_THRESHOLD, endstop_poll_count)) safe_delay(1);
}

View File

@@ -2495,7 +2495,7 @@ bool Planner::_populate_block(block_t * const block, bool split_move,
if (extruder_advance_K[active_extruder] * block->e_D_ratio * block->acceleration * 2 < SQRT(block->nominal_speed_sqr) * block->e_D_ratio)
SERIAL_ECHOLNPGM("More than 2 steps per eISR loop executed.");
if (block->advance_speed < 200)
SERIAL_ECHOLNPGM("eISR running at > 10KHz.");
SERIAL_ECHOLNPGM("eISR running at > 10kHz.");
#endif
}
#endif

View File

@@ -883,7 +883,7 @@ class Planner {
static void finish_and_disable();
// Periodic handler to manage the cleaning buffer counter
// Called from the Temperature ISR at ~1KHz
// Called from the Temperature ISR at ~1kHz
static void isr() { if (cleaning_buffer_counter) --cleaning_buffer_counter; }
/**

View File

@@ -3046,8 +3046,8 @@ public:
};
/**
* Handle various ~1KHz tasks associated with temperature
* - Heater PWM (~1KHz with scaler)
* Handle various ~1kHz tasks associated with temperature
* - Heater PWM (~1kHz with scaler)
* - LCD Button polling (~500Hz)
* - Start / Read one ADC sensor
* - Advance Babysteps
@@ -3549,7 +3549,7 @@ void Temperature::isr() {
adc_sensor_state = next_sensor_state;
//
// Additional ~1KHz Tasks
// Additional ~1kHz Tasks
//
#if ENABLED(BABYSTEPPING) && DISABLED(INTEGRATED_BABYSTEPPING)