pub const fn calibration_failed(answer: [u8; 3]) -> boolExpand description
Whether the radio reports that an image calibration did not work.
§Arguments
answer- the three bytesdevice_errorscame back with.
§Returns
Whether the image calibration bit is set.
§Examples
use pamoja_radios::sx1302::sx1261::calibration_failed;
assert!(!calibration_failed([0x00, 0x00, 0x00]));
assert!(calibration_failed([0x00, 0x00, 0x10]));
assert!(!calibration_failed([0x00, 0x00, 0x08]), "a different fault, not this one");