Commit Graph

35 Commits

Author SHA1 Message Date
rusefillc db3f92edf4 Lua A/C Input #4333 2022-07-08 00:51:53 -04:00
Scott Smith 80091498a6 Programmatically replace ENGINE() and CONFIG() with engine-> etc (#3565)
git grep -l -w ENGINE | xargs sed -i -r "s/ENGINE\(([]a-zA-Z_0-9.[]+)\)/engine->\1/g"

git grep -l -w CONFIG | xargs sed -i -r "s/([^a-zA-Z_])CONFIG\(([]a-zA-Z_0-9.[]+)\)/\1engineConfiguration->\2/g"
2021-11-17 03:54:21 -05:00
Matthew Kennedy 7296593448 remove engine pointer passing (#3556)
* some

* more

* more

* the last?!
2021-11-16 04:15:29 -05:00
Matthew Kennedy d3ec2b21d1 Use pch in lots of files (#3066)
* most engine.h

* most engine_configuration

* more

* more

* more

* more

* more

* moooooore

* ok I'm done for now

* oops
2021-07-26 01:05:17 -04:00
Matthew Kennedy e3849b95d5 don't require EXTERN_ENGINE in every file (#2969)
* move enginePins

* no more extern engine

* uses

* more

* extern config too

* put this where it belongs

* include correct header

* merge
2021-07-16 18:13:33 -04:00
Matthew Kennedy 8cfb63455d Logging remove 3 (#2568)
* ts logger

* sensors

* wideband too

* missed one

* init

* motors, pid, etc

* vvt

* more

* idle

* missed one

* dynoview

* launch

* can

* console IO

* s

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-20 14:09:41 -04:00
Andrey G b61ae75fe2 gpio helper (#2195)
* gpios: isBrainPinValid helper

* LCD HD44780: do not touch pins if DM_NONE or invalid gpio

* Fix isEnabled checks for GPS and Joystick

* LCD HD44780: writePad use this method wider
2021-01-08 20:01:26 -05:00
rusefillc 17a110ad44 Starter is engaged on start-up in pull-up configuration #1969
maintainability
2020-11-19 23:57:06 -05:00
rusefillc 89a20a20b0 Proteus TCU gear shift configuration #1927 2020-11-06 23:48:35 -05:00
David Holdeman e6f6c43767 switch to pass by reference (#1832) 2020-09-28 19:17:17 -04:00
David Holdeman e8e2cf2cfd DebounceButton A/C switch (#1782)
* change acSwitch name, add mode

* fix

* remove some adc stuff

* remove some adc stuff

* semicolon stupid

* left behind

* add readpinstate

* wrong var name

* add functions back

* fix name

* bool, not void, plus fix name

* move

* not sure what I broke

* try setMockValue

* namespace

* whoops missed one

* switch values because adc was set up for pullup

* try 5

* comment for now

* comment for now

* uncomment tests, add function to mock, add mock to efiReadPin

* fixes

* for F's sake

* if

* add defy

* pass params

* use ASSERT_TRUE/FALSE

* advance time

* remove ifdef from readPin

* try moving if

* move to separate func

* move extern

* move include

* try engine_test_helper

* am confuse

* move func to else

* include hal

* add efi prod check

* remove include

* try extern

* move include

* semicolon stupid

* move extern again

* include

* move mockPinStates

* size

* add if

* add comment

* clean on instantiation
2020-09-10 22:16:20 -04:00
Matthew Kennedy c95ed26d89 Remove old thermistor implementation (#1458)
* remove test clt/iat

* remove warning since this code is nearly dead

* remove old therm impl

* tests & live doc

* not quite right
2020-05-28 17:51:33 -04:00
rusefi a222ecdfe1 happy new year unification 2020-01-13 21:57:43 -05:00
rusefi 658dac889c ETB target is using integer values #945
refactoring - ADC mocking is a mess
2019-09-22 09:56:06 -04:00
Matthew Kennedy 4aaf028251 Kill Dead Code 2: Electric Boogaloo (#940)
* remove dead

* remove dead

* deflex
2019-09-18 20:23:14 -04:00
rusEfi ac92a0380e reducing warning noise 2019-03-02 13:04:26 -05:00
rusefi daeaa925f2 refacoting: making code more consistent 2019-01-05 00:57:09 -05:00
rusefi 9afe619652 making either Matt or compiler or both happier 2019-01-05 00:11:17 -05:00
rusefi c17455dc0d #540 2018-01-23 08:34:18 -05:00
rusefi f5a4376036 happy new year 2018-01-20 20:55:31 -05:00
rusefi f8e592f454 better macro name 2017-05-15 23:28:49 -04:00
rusEfi 552c664a23 auto-sync 2017-01-03 06:05:22 -05:00
rusEfi 42069e51ac auto-sync 2015-12-31 16:02:30 -05:00
rusEfi 41e7abdd6f auto-sync 2015-07-10 09:01:56 -04:00
rusEfi 69b0c4e2de auto-sync 2015-07-10 08:57:59 -04:00
rusEfi 490da27bb3 auto-sync 2015-07-06 21:33:28 -04:00
rusEfi 2edf54e6a1 auto-sync 2015-05-23 16:09:40 -04:00
rusEfi 45d9b0926b auto-sync 2015-05-02 19:07:39 -04:00
rusEfi 2eec9343e1 auto-sync 2015-02-18 20:05:47 -06:00
rusEfi 566416bc03 auto-sync 2015-02-10 07:05:46 -06:00
rusEfi a174734294 auto-sync 2015-01-12 17:04:10 -06:00
rusEfi e9d2fa2277 auto-sync 2014-11-26 22:03:05 -06:00
rusEfi bc1b61a58e auto-sync 2014-11-07 10:08:15 -06:00
rusEfi f9aae1688a auto-sync 2014-10-02 13:03:28 -05:00
rusEfi 1c80dca0a6 auto-sync 2014-10-02 12:03:00 -05:00