Skip to content

Commit

Permalink
Fix #156 - XL extruder fan check failure
Browse files Browse the repository at this point in the history
  • Loading branch information
vintagepc committed Mar 9, 2024
1 parent 245c398 commit 7d80e33
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hw/arm/prusa/prusa-xl-extruder.c
Original file line number Diff line number Diff line change
Expand Up @@ -207,9 +207,9 @@ static void _prusa_xl_extruder_init(MachineState *machine, int index, int type)
qdev_connect_gpio_out_named(hall,"status", 0, qdev_get_gpio_in_named(dashboard,"led-digital",2));
qdev_connect_gpio_out(hall, 0, qdev_get_gpio_in_named(stm32_soc_get_periph(dev_soc, STM32_P_ADC1),"adc_data_in", 4));

// hotend = fan1
// print fan = fan0
uint16_t fan_max_rpms[] = { 5000, 6000 };
//0 is HBR
//1 is Print fan
uint16_t fan_max_rpms[] = { 8000, 6000 };
uint8_t fan_pwm_pins[] = { 7, 6};
uint8_t fan_tach_exti_lines[] = { 8, 9};
uint8_t fan_labels[] = {'P','E'};
Expand Down

0 comments on commit 7d80e33

Please sign in to comment.