🩹 Fix various typos

This commit is contained in:
Scott Lahteine 2025-07-14 14:53:07 -05:00
parent 66474f6a13
commit 6b9ec417b6
5 changed files with 7 additions and 7 deletions

View file

@ -612,7 +612,7 @@ void ADC_DMA_init() {
* n32g452 - end
==============================================================================*/
#define NS_PINRT(V...) do{ SERIAL_ECHO_START(); SERIAL_ECHOLNPAIR(V); }while(0)
#define NS_PINRT(V...) do{ SERIAL_ECHO_START(); SERIAL_ECHOLNPGM(V); }while(0)
// Init the AD in continuous capture mode
void MarlinHAL::adc_init() {
@ -622,7 +622,7 @@ void MarlinHAL::adc_init() {
// GPIO settings
reg_temp = ADC_RCC_APB2PCLKEN;
reg_temp |= 0x0f; // Make PORT mouth clock
reg_temp |= 0x0F; // Make PORT mouth clock
ADC_RCC_APB2PCLKEN = reg_temp;
//reg_temp = NS_GPIOC_PL_CFG;

View file

@ -354,7 +354,7 @@ typedef float feedRate_t;
//
// celsius_t is the native unit of temperature. Signed to handle a disconnected thermistor value (-14).
// For more resolition (e.g., for a chocolate printer) this may later be changed to Celsius x 100
// For more resolution (e.g., for a chocolate printer) this may later be changed to Celsius x 100
//
typedef uint16_t raw_adc_t;
typedef int16_t celsius_t;

View file

@ -434,7 +434,7 @@ void test_tmc_connection(LOGICAL_AXIS_DECL_LC(const bool, true));
bool TMCMarlin<TMC, AXIS_LETTER, DRIVER_ID, AXIS_ID>::test_stall_status() {
this->switchCSpin(LOW);
// read stallGuard flag from TMC library, will handle HW and SW SPI
// Read stallGuard flag from TMC library, will handle HW and SW SPI
TMC2130_n::DRV_STATUS_t drv_status{0};
drv_status.sr = this->DRV_STATUS();

View file

@ -150,7 +150,7 @@ void menu_temperature() {
// Nozzle [1-5]:
//
#if HOTENDS == 1
editable.celsius = thermalManager.temp_hotend[0].target;
editable.celsius = thermalManager.degTargetHotend(0);
EDIT_ITEM_FAST(int3, MSG_NOZZLE, &editable.celsius, 0, thermalManager.hotend_max_target(0), []{ thermalManager.setTargetHotend(editable.celsius, 0); });
#elif HAS_MULTI_HOTEND
HOTEND_LOOP() {

View file

@ -492,7 +492,7 @@ PGMSTR(str_t_heating_failed, STR_T_HEATING_FAILED);
#if NUM_REDUNDANT_FANS
if (fan == 0) {
for (uint8_t f = REDUNDANT_PART_COOLING_FAN; f < REDUNDANT_PART_COOLING_FAN + NUM_REDUNDANT_FANS; ++f)
thermalManager.set_fan_speed(f, speed);
set_fan_speed(f, speed);
}
#endif
@ -2330,7 +2330,7 @@ void Temperature::mintemp_error(const heater_id_t heater_id OPTARG(ERR_INCLUDE_T
temp_cooler.soft_pwm_amount = 0;
if (flag_cooler_state) {
flag_cooler_state = false;
thermalManager.set_fan_speed(COOLER_FAN_INDEX, 0);
set_fan_speed(COOLER_FAN_INDEX, 0);
}
WRITE_HEATER_COOLER(LOW);
}