2026-02-14 08:53:17 +00:00
|
|
|
//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 {
|
2026-02-14 08:53:17 +00:00
|
|
|
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 {
|
2026-02-14 08:53:17 +00:00
|
|
|
return ErrorResult("SPI is only supported on Linux")
|
|
|
|
|
}
|