Commit Graph

52 Commits

Author SHA1 Message Date
Josh Stewart f80a8aa218 Working ADC ISR for AVR. Not enabled. 2023-12-05 17:35:45 +11:00
Josh Stewart fedd32e43c Fix build failure when ANALOG_ISR is set 2023-12-01 14:56:14 +11:00
Josh Stewart fc536d15f0 Rename all ino files to cpp (Excluding speeduino.ino).
Confirmed this compiles OK in Arduino IDE 2.x
Frees up 8 bytes of RAM
2023-10-06 18:10:20 +11:00
Josh Stewart 2fc29ceef5 MISRA cleanup rule: misra-c2012-8.2 2022-11-06 09:43:29 +11:00
Josh Stewart 3bd945f546 Add unit test for basic TAE 2022-05-25 11:02:55 +10:00
Josh Stewart 22ec9c8a20 Correct variable size for MAPlast 2022-04-05 17:55:09 +10:00
Vitor Moreno B. Sales 04d21e6dcc
Increase TPS resolution to 0.5% (#608)
* Increase TPS resolution to 0.5%

Fix TPS scale across the code

Fix TPS range for boost table

Update sensors.h

* Update all tables to use TPS resolution

* All tables use new TPS resolution

Fixed wrong MAP scale, added fuel switch % for TPS

Fix rotary

* Fix merge conflicts
2022-01-01 19:30:21 +11:00
Daniel Tobias 241917cc7f
don't manually set values for FILTER defaults, use defines (#698)
fixes a few inconsistencies where defaults are set to different values, defaults for generic pressure sensors
2021-12-22 07:56:55 +11:00
Josh Stewart 89e49d2c00 Faster VSS reads and gear detection 2021-09-14 21:45:44 +10:00
Josh Stewart 1175b0ddb6 Add AE check to see whether MAP_DOT or TPS_DOT are increasing 2021-01-22 16:31:14 +11:00
Sepehr20mg10 c3df8bf66d
Update sensors.h (#469)
Reducing the minimum limit of barometric pressure (when using map as baro sensor)
The highest motorable road is "Khardung La" with 49 kPa barometric pressure but I think 65 kPa is a safer limit than that.
maybe it needs to be customizable in TS ?
2020-12-02 11:06:24 +11:00
iLeeeZi 8e9b680be6
Flex fuel sensor temperature and temperature correction (#413). Also closes #252
* Fuel temperature correction

* fix negative temperatures

* typo fixed
2020-08-18 12:34:56 +10:00
Josh Stewart d4899c0200 Tweaks to VSS sampling 2020-08-10 08:54:53 +10:00
Josh Stewart c8480cc6a7 Add VSS sampling 2020-08-07 19:32:31 +10:00
Josh Stewart fc43f3a479 Allocate memory for fuel/oil pressure inputs 2020-05-29 12:21:28 +10:00
Josh Stewart 326405ac55 Flag an error if an invalid MAP reading is calculated 2020-05-22 15:26:20 +10:00
Josh Stewart 7ccd3795c9 VSS / gear detection tweaks 2020-05-19 14:44:28 +10:00
Josh Stewart a826b20307 Most of the remaining VSS parts 2020-05-12 12:14:37 +10:00
Josh Stewart ccad3d258f VSS calibration routines (untested) 2020-04-23 20:34:31 +10:00
Josh Stewart 5366695f96 Initial VSS dialog 2020-04-20 23:43:02 +10:00
iLeeeZi fc40cc24db
prevent priming pulse if flood clear is active (#289) 2020-04-02 10:42:26 +11:00
Bruno Bousquet 55cfb60251 fix block comment (/**/) within another (#269) 2019-10-22 12:55:17 +10:00
Bruno Bousquet f1521b65d8 Fix MISRA violations (#268)
* improve misra checking

* fix 1600 misra violations

* fix mistyped pointer

* misra script was not filtering duplicates
2019-10-22 11:49:07 +10:00
Josh Stewart 73f4058f6b Reenable LED indicator on the calibration routing 2019-10-15 16:56:41 +11:00
Josh Stewart b6108b5050 Warnings cleanup 2019-08-02 10:14:25 +10:00
Josh Stewart 105eeba8aa A bunch of setup work for MAE 2019-05-22 07:47:09 +10:00
Josh Stewart d48ad1ad28 Add option on readCLT() to skip the filter on startup. See #220 2019-04-16 17:33:56 +10:00
Josh Stewart 2b321a9164 Minor memory cleanup 2018-10-05 20:27:46 +10:00
Josh Stewart de5fd0d175 Add configurable analog sensor filters 2018-09-18 17:14:37 +10:00
Josh Stewart 5c7a7c7891 Add a check on the aux input system to make sure pin isn't already in use 2018-09-17 13:20:08 +10:00
Josh Stewart faae1f3a5a More of the knock control ground work 2018-08-14 12:47:15 +10:00
Josh Stewart 0bbed9f316 Cleanup of aux PR and add init routing for these channels 2018-07-26 17:07:31 +10:00
Josh Stewart f1182d569d
Merge branch 'master' into local_auxin3 2018-07-25 16:38:07 +10:00
Josh Stewart cfe1062dd2 New rolling cut method 2018-07-22 21:28:05 +10:00
Josh Stewart ce0e399201 More warnings cleanup 2018-07-19 23:26:31 +10:00
Josh Stewart 9e2d649f61 Begin some work on warnings cleanup 2018-07-19 17:35:35 +10:00
darren siepka a480996cfc add option to use can channels for local input pins 2018-06-29 23:09:27 +01:00
Josh Stewart 4b5f580649 All base work on EMAP sensor configuration and reading 2018-04-24 21:31:52 +10:00
darren siepka aa3904b448 add dvjcodec rev a and b teensy board entry
reactivate second o2 input
2018-04-10 23:17:38 +01:00
darren siepka 2498f53730 fix second o2 error 2018-04-05 22:11:58 +01:00
Josh Stewart 0de3a231c9 Minor cleanups before release 2017-11-07 22:05:23 +11:00
Josh Stewart ace8c1f129 Potential fix for erratic MAP readings in some instances 2017-10-11 00:12:07 +11:00
Josh Stewart 9d2e938a4d Initial (mostly untested) live baro reading 2017-07-17 17:06:14 +10:00
Josh Stewart 086d705561 Few minor performance tweaks 2017-07-03 11:52:27 +10:00
Josh Stewart aafdd4fc02 MISRA compliant sensors.ino 2017-06-29 14:34:47 +10:00
Josh Stewart 5c5cc71d8f Final minor cleanup before Feb release 2017-03-03 12:51:19 +11:00
Josh Stewart a881ddc405 Temporarily disable ADC interrupt until the bug with it is found 2017-02-15 22:20:43 +11:00
Josh Stewart a7d0a95611 Use currentStatus.spark rather than currentStatus.engine for error indicator. Fixes #67 2017-02-14 15:21:38 +11:00
Josh Stewart 0ae02e23f1 Minor cleanups or warnings and error (from last commit) 2017-02-14 01:07:05 +11:00
Josh Stewart 91512b775a Very weak filter added to instantaneous MAP readings 2017-02-12 14:43:18 +13:00