mirror of https://github.com/rusefi/rusefi.git
only:dead
This commit is contained in:
parent
3bdce9d2f3
commit
43c0bda002
|
@ -75,7 +75,6 @@
|
|||
|
||||
#define EFI_SIGNAL_EXECUTOR_SLEEP FALSE
|
||||
#define EFI_SIGNAL_EXECUTOR_ONE_TIMER TRUE
|
||||
#define EFI_SIGNAL_EXECUTOR_HW_TIMER FALSE
|
||||
|
||||
#define FUEL_MATH_EXTREME_LOGGING FALSE
|
||||
|
||||
|
|
|
@ -82,7 +82,6 @@
|
|||
|
||||
#define EFI_SIGNAL_EXECUTOR_SLEEP FALSE
|
||||
#define EFI_SIGNAL_EXECUTOR_ONE_TIMER TRUE
|
||||
#define EFI_SIGNAL_EXECUTOR_HW_TIMER FALSE
|
||||
|
||||
#define FUEL_MATH_EXTREME_LOGGING FALSE
|
||||
|
||||
|
|
|
@ -162,7 +162,6 @@
|
|||
|
||||
#define EFI_SIGNAL_EXECUTOR_SLEEP FALSE
|
||||
#define EFI_SIGNAL_EXECUTOR_ONE_TIMER TRUE
|
||||
#define EFI_SIGNAL_EXECUTOR_HW_TIMER FALSE
|
||||
|
||||
#define FUEL_MATH_EXTREME_LOGGING FALSE
|
||||
|
||||
|
|
|
@ -143,14 +143,6 @@ static void sayHello() {
|
|||
efiPrintf("EFI_TUNER_STUDIO=%d", 0);
|
||||
#endif
|
||||
|
||||
#ifdef EFI_SIGNAL_EXECUTOR_SLEEP
|
||||
efiPrintf("EFI_SIGNAL_EXECUTOR_SLEEP=%d", EFI_SIGNAL_EXECUTOR_SLEEP);
|
||||
#endif
|
||||
|
||||
#ifdef EFI_SIGNAL_EXECUTOR_HW_TIMER
|
||||
efiPrintf("EFI_SIGNAL_EXECUTOR_HW_TIMER=%d", EFI_SIGNAL_EXECUTOR_HW_TIMER);
|
||||
#endif
|
||||
|
||||
#if defined(EFI_SHAFT_POSITION_INPUT)
|
||||
efiPrintf("EFI_SHAFT_POSITION_INPUT=%d", EFI_SHAFT_POSITION_INPUT);
|
||||
#endif
|
||||
|
|
|
@ -20,7 +20,7 @@ bit_cast(const From& src) noexcept
|
|||
static_assert(std::is_trivially_constructible_v<To>,
|
||||
"This implementation additionally requires "
|
||||
"destination type to be trivially constructible");
|
||||
|
||||
|
||||
To dst;
|
||||
std::memcpy(&dst, &src, sizeof(To));
|
||||
return dst;
|
||||
|
@ -61,9 +61,10 @@ private:
|
|||
*/
|
||||
#pragma pack(push, 4)
|
||||
struct scheduling_s {
|
||||
#if EFI_SIGNAL_EXECUTOR_SLEEP
|
||||
#if EFI_SIMULATOR
|
||||
// used by signal_executor_sleep executor implementation
|
||||
virtual_timer_t timer;
|
||||
#endif /* EFI_SIGNAL_EXECUTOR_SLEEP */
|
||||
#endif /* EFI_SIMULATOR */
|
||||
|
||||
/**
|
||||
* timestamp represented as 64-bit value of ticks since MCU start
|
||||
|
|
|
@ -30,8 +30,6 @@
|
|||
bool printSchedulerDebug = true;
|
||||
#endif // EFI_PRINTF_FUEL_DETAILS
|
||||
|
||||
#if EFI_SIGNAL_EXECUTOR_SLEEP
|
||||
|
||||
struct CallbackContext
|
||||
{
|
||||
scheduling_s* scheduling = nullptr;
|
||||
|
@ -119,5 +117,3 @@ void SleepExecutor::cancel(scheduling_s* s) {
|
|||
|
||||
s->action = {};
|
||||
}
|
||||
|
||||
#endif /* EFI_SIGNAL_EXECUTOR_SLEEP */
|
||||
|
|
Loading…
Reference in New Issue