picoclaw/pkg/tools/spi_other.go

14 lines
369 B
Go
Raw Normal View History

//go:build !linux
package tools
// transfer is a stub for non-Linux platforms.
2026-02-18 19:48:23 +00:00
func (t *SPITool) transfer(args map[string]any) *ToolResult {
return ErrorResult("SPI is only supported on Linux")
}
// readDevice is a stub for non-Linux platforms.
2026-02-18 19:48:23 +00:00
func (t *SPITool) readDevice(args map[string]any) *ToolResult {
return ErrorResult("SPI is only supported on Linux")
}