mirror of https://github.com/rusefi/wideband.git
Warning (#200)
* AUX out: cleanup warning (cherry picked from commit f52b12c5d77ed537060eca4ba4a48392ed8e2418) * HardFault handler: fix unused warning (cherry picked from commit 6baa0fc1207142990b1501354a2b88ea322f1c4f) --------- Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
This commit is contained in:
parent
ab84b694b6
commit
bb86ba1e6b
|
@ -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]);
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue