mirror of
https://github.com/asticode/go-astiav.git
synced 2025-10-05 16:16:50 +08:00
Oops
This commit is contained in:
@@ -23,7 +23,7 @@ func NewDisplayMatrixFromBytes(b []byte) (m *DisplayMatrix, err error) {
|
||||
|
||||
// Loop
|
||||
for idx := 0; idx < 9; idx++ {
|
||||
m[idx] = binary.BigEndian.Uint32(b[idx*4 : (idx+1)*4])
|
||||
m[idx] = binary.LittleEndian.Uint32(b[idx*4 : (idx+1)*4])
|
||||
}
|
||||
return
|
||||
}
|
||||
|
Reference in New Issue
Block a user