fix: update GpioData extern union

u4's are no longer supported in extern unions :\
This commit is contained in:
Rekai Nyangadzayi Musuka 2022-10-21 05:12:59 -03:00
parent 372bfdc5f6
commit 5725bbbe35
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 {