Skip to content

Commit

Permalink
Use existing cfg to not get a warning
Browse files Browse the repository at this point in the history
  • Loading branch information
diondokter committed Feb 1, 2025
1 parent 2b77590 commit c0ea43e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion device-driver/tests/basic-block.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ device_driver::create_device!(
type DefaultByteOrder = LE;
}
/// Block description
#[cfg(not(blah))]
#[cfg(test)]
block Bar {
const ADDRESS_OFFSET = 10;
const REPEAT = {
Expand Down

0 comments on commit c0ea43e

Please sign in to comment.