diff --git a/firmware/auxout.cpp b/firmware/auxout.cpp index ea07211..bd72dd3 100644 --- a/firmware/auxout.cpp +++ b/firmware/auxout.cpp @@ -157,7 +157,6 @@ void AuxOutThread(void*) { for (int ch = 0; ch < AFR_CHANNELS; ch++) { - auto cfg = GetConfiguration(); float input = AuxGetInputSignal(cfg->auxOutputSource[ch]); float voltage = interpolate2d(input, cfg->auxOutBins[ch], cfg->auxOutValues[ch]); diff --git a/firmware/main.cpp b/firmware/main.cpp index bd5d32d..3262cfc 100644 --- a/firmware/main.cpp +++ b/firmware/main.cpp @@ -111,6 +111,7 @@ extern "C" void HardFault_Handler_C(void* sp) { bool isFaultOnUnstacking = ((SCB->CFSR >> SCB_CFSR_BUSFAULTSR_Pos) & (1 << 3) ? true : false); bool isFaultOnStacking = ((SCB->CFSR >> SCB_CFSR_BUSFAULTSR_Pos) & (1 << 4) ? true : false); bool isFaultAddressValid = ((SCB->CFSR >> SCB_CFSR_BUSFAULTSR_Pos) & (1 << 7) ? true : false); + (void)faultAddress; (void)isFaultPrecise; (void)isFaultImprecise; (void)isFaultOnUnstacking;