* Added Lambda option for EGO correction. Same fields, just another way to view and set them.
* Added Lambda option for Nitrous Leanest AFR. Same field, just another way to view and set it.
* Use separate afrProtectDeviationLambda constant memory-mapped onto afrProtectDeviation
* 3 decimal accuracy for Lambda
* Add default for afrProtectDeviationLambda
* MISRA check: add XML output
* Improve handling of cppcheck output
* Simplify - make cppcheck do more work
Now need for the script to gather source files
and run them one at a time, or flatten xml etc.
* Define the byte type - flushes out violations.
* Precaution: apply dos2unix before invoking shell script
* Restore force rename of libdivide folder
Scans on Windows Git Bash were taking way too long.
* Performance: run as many cppcheck jobs as possible
Logical CPU count - 1
* Set the build dir
Prevents temp files being left in the source tree
Ego control gets stuck at 100% when ignitionCount wraps during an DFCO event because the test "if (ignitionCount < AFRnextCycle).." continues to fail until ignitionCount catches up with AFRnextCycle again - long time.
This fix also checks for ignitionCount < (AFRnextCycle - configPage6.egoCount)
* Add decel enleanment feature
* Fix tps and map DOT scaling in TS.
* updates.ino
* Small bug fix.
* One more small bug fix.
* Update cancomms.ino
Cast tps/mapDOT as uint8 to cancomms to retain backwards compatibility
* Fix programmable outputs list.
* Fix programmable outputs in updates.ino
* Add abs around currentStatus.mapDOT
* Change X axis in memory orientation to match Y
* X & Y axes can use the same type (Ie.e class)
* Table3D axis iterator: replace reverse() with rbegin()
* Use iterators as part of unit tests
* Doxygen fixes/corrections
* Push libdivide #def into build flags
* Allow build without USE_LIBDIVIDE
* Rename libdivide folder before & after scan
It's the only way to really exclude it
* Fix Jeep2000 decoder
getCrankAngle_Jeep2000() sets crankangle = 146 if toothcurrentcount = 0, because last tooth was cam tooth which is 146 ATDC, however, all the timing and angle calculations are not done on the cam tooth read, so crankangle should be set to 118 for previous crank tooth.
* fix the fix
@jaredsellers4 pointed out that to be consistent with the rest of the crank tooth timings, it should be the leading edge, 114, rather than 118.
* Further improvement to Jeep 2000 decoder
1) filter out secondary signals when primary tooth is not 12 or 13 (because it's noise)
2) scale the trigger filter gap according to whether the next gap is bigger, smaller or the same as the previous/current gap.
* Revert "Further improvement to Jeep 2000 decoder"
This reverts commit 3510aa49c3.
* fix Jeep2000 to address #897
getCrankAngle_Jeep2000() sets crankangle = 146 + triggerAngle when toothCurrentCount = 0, because toothCurrentCount was set to 0 on seeing the Cam tooth, and the cam tooth angle is 146.
However, the tooth timings that are subsequently used in calculations are from the previous crank tooth, which was at 114. Therefore 114 is the correct crankangle to work with.
Co-authored-by: Jon Billings <jon.billings@bbc.co.uk>
* Fix VSS not resetting to zero
Reinstated car stop check to avoid speed not going back to zero.
* Better logic for gear detection
Previous gear detection logic had gears constantly lagging 1 shift behind.
* Update sensors.h
* Update sensors.ino
* Update sensors.ino
* Update sensors.h
* Update board_teensy41.h
Pit timers implementation for idle, boost and vvt
* Update board_teensy41.ino
Pit timers implementation for idle, boost and vvt
* Update board_teensy41.h
Error in fuel5-8 timer disable now corrected
* Update auxiliaries.ino
Enable vvt PWM for Teensy 4.1
* Update idle.ino
* Update board_teensy41.h
For some reason the PIT_LDVAL compares were not showing on the previous PR
* Update auxiliaries.ino
* Fix problem of using an uninitialised variable when initialising the stepper
after power on.
* Fix faulty idle taper causing OLCL and CL stepper to get stuck in the cranking position.
Co-authored-by: Richard Metcalfe <richard@richmet.com>