fix: update GpioData extern union

u4's are no longer supported in extern unions :\
This commit is contained in:
Rekai Nyangadzayi Musuka 2022-09-05 01:37:33 -03:00
parent 0ffccde402
commit 937e4f67fb
1 changed files with 4 additions and 4 deletions

View File

@ -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 {