Skip to content

Commit

Permalink
Fix access to a non-existant debug property
Browse files Browse the repository at this point in the history
  • Loading branch information
dragomirecky authored and vintagepc committed May 16, 2023
1 parent 8558f08 commit dd4fc5f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion hw/arm/prusa/prusa-xl.c
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,6 @@ static void xl_init(MachineState *machine, xl_cfg_t cfg)

// Hall sensor mux
dev = qdev_new("hc4052");
qdev_prop_set_bit(dev, "debug",true);
sysbus_realize(SYS_BUS_DEVICE(dev), &error_fatal);
qdev_connect_gpio_out(stm32_soc_get_periph(dev_soc, STM32_P_GPIOF),12,qdev_get_gpio_in_named(dev,"select", 1)); // S0
qdev_connect_gpio_out(stm32_soc_get_periph(dev_soc, STM32_P_GPIOG),6,qdev_get_gpio_in_named(dev, "select", 0)); // S1
Expand Down

0 comments on commit dd4fc5f

Please sign in to comment.