fix: update GpioData extern union
u4's are no longer supported in extern unions :\
This commit is contained in:
parent
89831a2b64
commit
ce8a8037ae
|
@ -469,10 +469,10 @@ const Clock = struct {
|
||||||
};
|
};
|
||||||
|
|
||||||
const GpioData = extern union {
|
const GpioData = extern union {
|
||||||
sck: Bit(u4, 0),
|
sck: Bit(u8, 0),
|
||||||
sio: Bit(u4, 1),
|
sio: Bit(u8, 1),
|
||||||
cs: Bit(u4, 2),
|
cs: Bit(u8, 2),
|
||||||
raw: u4,
|
raw: u8,
|
||||||
};
|
};
|
||||||
|
|
||||||
const Control = extern union {
|
const Control = extern union {
|
||||||
|
|
Loading…
Reference in New Issue