15 lines
383 B
Go
15 lines
383 B
Go
//go:build !linux || !cgo
|
|
|
|
// Copyright (c) 2026 Storm Dragon
|
|
// Authors: Storm Dragon, Angus Kola
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
package speech
|
|
|
|
import "errors"
|
|
|
|
func open_serial(string, int) (int, error) {
|
|
return -1, errors.New("hardware speech requires Linux and cgo")
|
|
}
|
|
func flush_serial(int) error { return errors.New("hardware speech requires Linux and cgo") }
|