mirror of
https://github.com/tinygo-org/drivers.git
synced 2026-08-14 20:03:40 +00:00
9ca474466d
This commit now requires tinygo_task_current which I've patched in my local TinyGo build.
15 lines
259 B
Go
15 lines
259 B
Go
//go:build !esp32c3
|
|
|
|
package espradio
|
|
|
|
import "errors"
|
|
|
|
// This is the value used for the ESP32-C3.
|
|
const ticksPerSecond = 16_000_000
|
|
|
|
var errUnsupportedChip = errors.New("espradio: unsupported chip")
|
|
|
|
func initHardware() error {
|
|
return errUnsupportedChip
|
|
}
|