fermentord/vendor/github.com/warthog618/go-gpiocdev/uapi/endian_intel.go

16 lines
305 B
Go
Raw Normal View History

// SPDX-FileCopyrightText: 2019 Kent Gibson <warthog618@gmail.com>
//
// SPDX-License-Identifier: MIT
//go:build 386 || amd64
// +build 386 amd64
package uapi
import (
"encoding/binary"
)
// endian to use to decode reads from the local kernel.
var nativeEndian binary.ByteOrder = binary.LittleEndian