Skip to content

Commit

Permalink
cfg fixes, this time testing against both possible targets
Browse files Browse the repository at this point in the history
  • Loading branch information
bunnie committed Sep 15, 2023
1 parent 24cfa55 commit f49cab6
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions services/xous-log/src/platform/cramium/implementation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -248,10 +248,12 @@ impl OutputWriter {
writelen
}
#[cfg(feature="cramium-fpga")]
for c in buf {
self.putc(*c)
{
for c in buf {
self.putc(*c)
}
buf.len()
}
buf.len()
}

pub fn write_all(&mut self, buf: &[u8]) -> core::result::Result<usize, ()> {
Expand Down

0 comments on commit f49cab6

Please sign in to comment.