Added stdlib inclusion.
Added stdlib inclusion.
Had to add a cast because C++ does not understand void*.

Fixed a typo, had 'pip' instead of 'pipe'
Was missing an include for mux_pipe.
Had to add a cast because C++ does not understand void*.

Fixed a typo in find_input_node() where I used 'pipe', instead of just using the in_pin argument.

In mux_input_list_remove there was a typo where 'current_in_pipe' was used instead of 'current_in_pin'.
Had to cast because C++ does not understand void*.

Incorrectly used channel as the field instead of channel_num.
Changed the type of mux_output_list_remove, accidentally used MuxChannelList.
Had to change the include for Arduino.h

Accidentally used out_node->channels->head, when we needed out_node->channels.head.

set_output_channel() had a mistake where pipe.in_pin was used instead of out_pin.

mux_update() had a typo where mux_out was used in place of mux_outs.