1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
// Copyright 2015 Martin Hebnes Pedersen (LA5NTA). All rights reserved.
// Use of this source code is governed by the MIT-license that can be
// found in the LICENSE file.
// +build !cgo, !libhamlib
package hamlib
import "errors"
var errNotAvailable = errors.New("Not available in this build")
// OpenSerialURI is here for compatibility (use build tag 'libhamlib').
func OpenSerialURI(uri string) (Rig, error) { return nil, errNotAvailable }
// Rigs is here for compatibility (use build tag 'libhamlib').
func Rigs() map[RigModel]string { return map[RigModel]string{} }
|