# Copyright (c) 2022 Tokita, Hiroshi # SPDX-License-Identifier: Apache-2.0 # Checking and set 'adapter speed'. # Set the adaptor speed, if unset, and given as an argument. proc set_adapter_speed_if_not_set { speed } { puts "checking adapter speed..." if { [catch {adapter speed} ret] } { adapter speed $speed } }