From d9d9d41e22f81fe2b08131be1b831148c07b3c50 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Wed, 16 Nov 2022 23:13:54 -0600 Subject: [PATCH] Regression: Wrong bitwise operator used. The commit ef89fafafe125e0afbf83476f255f52e176a9c72 has a mistake where the wrong bitwise operation is used. --- level_3/fss_payload_write/c/private-write.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/level_3/fss_payload_write/c/private-write.c b/level_3/fss_payload_write/c/private-write.c index a5c3b3b..97537b5 100644 --- a/level_3/fss_payload_write/c/private-write.c +++ b/level_3/fss_payload_write/c/private-write.c @@ -374,8 +374,8 @@ extern "C" { if (F_status_is_error_not(setting->status)) { - if (printed | 0x1) { - if (printed | 0x2) { + if (printed & 0x1) { + if (printed & 0x2) { setting->status = F_payload; } else { -- 1.8.3.1