Warning: Iteration 1 Invokes Undefined Behavior
I’m not seeing the issue. typedef struct GeneralSensorParams_ { uint8_t threshold; uint8_t negativeThreshold; uint8_t baselineThreshold; } GeneralSensorParams; typedef _ALIGNED_(64) struct GeneralNVParams_ { uint32_t checksumOffset; GeneralSystemParams system; PerSensorBitFields bitfields[10]; GeneralSensorParams sensor[1]; uint8_t checksum; } GeneralNVParams; GeneralNVParams const* G_pGeneralNVParams = NULL; int main (void) { for (uint8_t i = 0; i < 1; i++) { if (tempThreshold[i]