Compare commits
8 Commits
74e1fc31b9
...
eff52ac1bb
Author | SHA1 | Date |
---|---|---|
Rekai Nyangadzayi Musuka | eff52ac1bb | |
Rekai Nyangadzayi Musuka | e60b556f72 | |
Rekai Nyangadzayi Musuka | 3a3e6acc6a | |
Rekai Nyangadzayi Musuka | 4b4bc7f894 | |
Rekai Nyangadzayi Musuka | 325208d460 | |
Rekai Nyangadzayi Musuka | f44a1a49fd | |
Rekai Nyangadzayi Musuka | 1575f517a9 | |
Rekai Nyangadzayi Musuka | 26dba16789 |
|
@ -68,6 +68,8 @@ pub const Gpio = struct {
|
|||
log.info("Device: {}", .{kind});
|
||||
|
||||
const self = try allocator.create(Self);
|
||||
errdefer allocator.destroy(self);
|
||||
|
||||
self.* = .{
|
||||
.data = 0b0000,
|
||||
.direction = 0b1111, // TODO: What is GPIO DIrection set to by default?
|
||||
|
|
Loading…
Reference in New Issue