fixed CurrentControl::on_gcode_received to work with last commit