Updating to zig master
Added cpu model Moved logging to defer done log Moved mem.init to bottom Updated again to new zig master
This commit is contained in:
parent
d17381c267
commit
1f97a5c6c8
21 changed files with 157 additions and 135 deletions
|
|
@ -433,6 +433,7 @@ pub fn clearMask(irq_num: u8) void {
|
|||
///
|
||||
pub fn init() void {
|
||||
log.logInfo("Init pic\n", .{});
|
||||
defer log.logInfo("Done pic\n", .{});
|
||||
|
||||
// Initiate
|
||||
sendCommandMaster(ICW1_INITIALISATION | ICW1_EXPECT_ICW4);
|
||||
|
|
@ -467,8 +468,6 @@ pub fn init() void {
|
|||
// Clear the IRQ for the slave
|
||||
clearMask(IRQ_CASCADE_FOR_SLAVE);
|
||||
|
||||
log.logInfo("Done\n", .{});
|
||||
|
||||
if (build_options.rt_test) runtimeTests();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue