parent
f77f356e6d
commit
426bc8720e
|
@ -237,6 +237,7 @@ static void SetNextCompositeEntry(efitick_t timestamp) {
|
|||
#endif // EFI_UNIT_TEST
|
||||
|
||||
void LogTriggerTooth(trigger_event_e tooth, efitick_t timestamp) {
|
||||
efiAssertVoid(ObdCode::CUSTOM_ERR_6650, assertRemainingStack(), "l-t-t");
|
||||
// bail if we aren't enabled
|
||||
if (!ToothLoggerEnabled) {
|
||||
return;
|
||||
|
|
|
@ -133,7 +133,7 @@ void onStartKnockSampling(uint8_t cylinderNumber, float samplingSeconds, uint8_t
|
|||
lastKnockSampleTime = getTimeNowNt();
|
||||
}
|
||||
|
||||
class KnockThread : public ThreadController<256> {
|
||||
class KnockThread : public ThreadController<UTILITY_THREAD_STACK_SIZE> {
|
||||
public:
|
||||
KnockThread() : ThreadController("knock", PRIO_KNOCK_PROCESS) {}
|
||||
void ThreadTask() override;
|
||||
|
|
|
@ -352,7 +352,7 @@ int getSlowAdcCounter() {
|
|||
}
|
||||
|
||||
|
||||
class SlowAdcController : public PeriodicController<256> {
|
||||
class SlowAdcController : public PeriodicController<UTILITY_THREAD_STACK_SIZE> {
|
||||
public:
|
||||
SlowAdcController()
|
||||
: PeriodicController("ADC", PRIO_ADC, SLOW_ADC_RATE)
|
||||
|
|
|
@ -127,7 +127,7 @@ static chibios_rt::Mailbox<LogLineBuffer*, lineBufferCount> freeBuffers;
|
|||
// filledBuffers contains a queue of buffers currently waiting to be written to the output buffer
|
||||
static chibios_rt::Mailbox<LogLineBuffer*, lineBufferCount> filledBuffers;
|
||||
|
||||
class LoggingBufferFlusher : public ThreadController<256> {
|
||||
class LoggingBufferFlusher : public ThreadController<UTILITY_THREAD_STACK_SIZE> {
|
||||
public:
|
||||
LoggingBufferFlusher() : ThreadController("log flush", PRIO_TEXT_LOG) { }
|
||||
|
||||
|
|
Loading…
Reference in New Issue