Skip to content

Commit 7eadc23

Browse files
committed
Update for new libfirmware
1 parent ae801a0 commit 7eadc23

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

firmware/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ endif
2323

2424
# C++ specific options here (added to USE_OPT).
2525
ifeq ($(USE_CPPOPT),)
26-
USE_CPPOPT = -fno-rtti -fno-exceptions -ffast-math -funsafe-math-optimizations -fno-threadsafe-statics -fno-use-cxa-atexit -std=c++17
26+
USE_CPPOPT = -fno-rtti -fno-exceptions -ffast-math -funsafe-math-optimizations -fno-threadsafe-statics -fno-use-cxa-atexit -std=c++20
2727
endif
2828

2929
# Enable this if you want the linker to remove unused code and data.

firmware/auxout.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
#include "hal.h"
1212

13-
#include <rusefi/math.h>
13+
#include <rusefi/rusefi_math.h>
1414
#include <rusefi/interpolation.h>
1515

1616
#ifdef AUXOUT_DAC_PWM_DEVICE

firmware/boards/f0_module/bootloader/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ endif
1717

1818
# C++ specific options here (added to USE_OPT).
1919
ifeq ($(USE_CPPOPT),)
20-
USE_CPPOPT = -fno-rtti -fno-exceptions -ffast-math -funsafe-math-optimizations -fno-threadsafe-statics -fno-use-cxa-atexit -std=c++17
20+
USE_CPPOPT = -fno-rtti -fno-exceptions -ffast-math -funsafe-math-optimizations -fno-threadsafe-statics -fno-use-cxa-atexit -std=c++20
2121
endif
2222

2323
# Enable this if you want the linker to remove unused code and data.

firmware/dac.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/* for VCC_VOLTS */
44
#include "wideband_config.h"
55

6-
#include <rusefi/math.h>
6+
#include <rusefi/rusefi_math.h>
77

88
#if HAL_USE_DAC
99

firmware/pwm.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include "pwm.h"
22

3-
#include <rusefi/math.h>
3+
#include <rusefi/rusefi_math.h>
44

55
Pwm::Pwm(PWMDriver& driver)
66
: m_driver(&driver)

0 commit comments

Comments
 (0)