console "spark 1" bench hands up proteus #5320

i feel lucky!
This commit is contained in:
rusefi 2023-06-11 23:23:17 -04:00
parent f77f356e6d
commit 426bc8720e
4 changed files with 4 additions and 3 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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)

View File

@ -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) { }