grblHAL / core

grblHAL core code and master Wiki
Other
304 stars 73 forks source link

ioport_settings_load bug in out ports #476

Closed Nick507 closed 3 months ago

Nick507 commented 3 months ago

ioports.c:721

if((xbar = hal.port.get_pin_info(Port_Digital, Port_Output, ioports_map_reverse(digital.in.ports, --port)))) {

I think that digital.in.ports must be changed to digital.out.ports, because as I understand in this (second) section we are handling out ports. I've got crash when configured no input aux port, and one output.

terjeio commented 3 months ago

Thanks, will fix in the next commit.