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 434a0dfac9
commit 617f7f4690
1 changed files with 4 additions and 4 deletions

View File

@ -469,10 +469,10 @@ const Clock = struct {
};
const GpioData = extern union {
sck: Bit(u4, 0),
sio: Bit(u4, 1),
cs: Bit(u4, 2),
raw: u4,
sck: Bit(u8, 0),
sio: Bit(u8, 1),
cs: Bit(u8, 2),
raw: u8,
};
const Control = extern union {