fix warnings found by clang #2014
This commit is contained in:
parent
7bdd047955
commit
ea8e09ba13
|
@ -63,7 +63,7 @@ int getCompositeRecordCount() {
|
|||
#if EFI_UNIT_TEST
|
||||
#include "logicdata.h"
|
||||
int copyCompositeEvents(CompositeEvent *events) {
|
||||
for (int i = 0;i < NextIdx;i++) {
|
||||
for (size_t i = 0; i < NextIdx; i++) {
|
||||
CompositeEvent *event = &events[i];
|
||||
event->timestamp = SWAP_UINT32(buffer[i].timestamp);
|
||||
event->primaryTrigger = buffer[i].priLevel;
|
||||
|
|
|
@ -884,7 +884,7 @@ static void setDefaultEngineConfiguration(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
|||
engineConfiguration->idleRpmPid.pFactor = 0.05;
|
||||
engineConfiguration->idleRpmPid.iFactor = 0.002;
|
||||
|
||||
engineConfiguration->idleRpmPid.minValue = 0.1;
|
||||
engineConfiguration->idleRpmPid.minValue = 0;
|
||||
engineConfiguration->idleRpmPid.maxValue = 99;
|
||||
engineConfiguration->idlePidDeactivationTpsThreshold = 2;
|
||||
|
||||
|
|
Loading…
Reference in New Issue