mirror of
https://github.com/kidoman/embd
synced 2025-07-03 20:07:40 +02:00
Fix typo
TransferAndRecieveData --> TransferAndReceiveData
This commit is contained in:
parent
5065e49386
commit
42be169804
5 changed files with 9 additions and 9 deletions
|
@ -38,7 +38,7 @@ func (m *MCP3008) AnalogValueAt(chanNum int) (int, error) {
|
|||
data[2] = 0
|
||||
|
||||
glog.V(2).Infof("mcp3008: sendingdata buffer %v", data)
|
||||
if err := m.Bus.TransferAndRecieveData(data[:]); err != nil {
|
||||
if err := m.Bus.TransferAndReceiveData(data[:]); err != nil {
|
||||
return 0, err
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue