Compare commits
7 Commits
eff52ac1bb
...
74e1fc31b9
Author | SHA1 | Date | |
---|---|---|---|
74e1fc31b9 | |||
2dbbfab206 | |||
10aa5e3788 | |||
fc94249954 | |||
5bc8068876 | |||
32983d9450 | |||
e55e632901 |
@ -68,8 +68,6 @@ 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…
x
Reference in New Issue
Block a user