zeroclaw / pkg /tools /i2c_other.go
personalbotai
Move picoclaw_space to root for Hugging Face Spaces deployment
c1dcaaa
//go:build !linux
package tools
// scan is a stub for non-Linux platforms.
func (t *I2CTool) scan(args map[string]interface{}) *ToolResult {
return ErrorResult("I2C is only supported on Linux")
}
// readDevice is a stub for non-Linux platforms.
func (t *I2CTool) readDevice(args map[string]interface{}) *ToolResult {
return ErrorResult("I2C is only supported on Linux")
}
// writeDevice is a stub for non-Linux platforms.
func (t *I2CTool) writeDevice(args map[string]interface{}) *ToolResult {
return ErrorResult("I2C is only supported on Linux")
}