added small defmt test #88

Merged
muellerr merged 3 commits from added-small-defmt-test into main 2024-04-16 15:34:42 +02:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 97bbb14168 - Show all commits

View File

@ -27,7 +27,7 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1 - uses: actions-rs/toolchain@v1
with: with:
toolchain: 1.61.0 toolchain: 1.65.0
override: true override: true
profile: minimal profile: minimal
- uses: actions-rs/cargo@v1 - uses: actions-rs/cargo@v1

View File

@ -245,7 +245,7 @@ pub(crate) fn verify_crc16_ccitt_false_from_raw_to_pus_error(
crc16: u16, crc16: u16,
) -> Result<(), PusError> { ) -> Result<(), PusError> {
verify_crc16_ccitt_false_from_raw(raw_data) verify_crc16_ccitt_false_from_raw(raw_data)
.then(|| ()) .then_some(())
.ok_or(PusError::ChecksumFailure(crc16)) .ok_or(PusError::ChecksumFailure(crc16))
} }