pub fn reset(self: *SerialIo) ResetError!void self: *SerialIo38
39
40
41
42
43
44 pub fn reset(self: *SerialIo) ResetError!void {
switch (self._reset(self)) {
.success => {},
.device_error => return error.DeviceError,
else => |status| return uefi.unexpectedStatus(status),
}
}
Resets the serial device.