better guards
This commit is contained in:
parent
5e1f66c1b9
commit
233a35ed7d
|
@ -244,6 +244,8 @@ static void setHellenSdCardSpi3NoCS() {
|
|||
engineConfiguration->spi3sckPin = H_SPI3_SCK;
|
||||
engineConfiguration->is_enabled_spi_3 = true;
|
||||
}
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wunused-function"
|
||||
|
||||
static void setHellenSdCardSpi1() {
|
||||
setHellenSdCardSpi1NoCS();
|
||||
|
@ -287,3 +289,4 @@ static void setHellenMMbaro() {
|
|||
engineConfiguration->lps25BaroSensorScl = Gpio::B10;
|
||||
engineConfiguration->lps25BaroSensorSda = Gpio::B11;
|
||||
}
|
||||
#pragma GCC diagnostic pop
|
||||
|
|
|
@ -8,7 +8,10 @@
|
|||
#include "ch.h"
|
||||
#include "can_msg_tx.h"
|
||||
#include "rusefi_wideband.h"
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wunused-function"
|
||||
#include "wideband_firmware/for_rusefi/wideband_can.h"
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
// This file contains an array called build_wideband_noboot_bin
|
||||
// This array contains the firmware image for the wideband contoller
|
||||
|
|
Loading…
Reference in New Issue