Commit Graph

115 Commits

Author SHA1 Message Date
Andrey Gusakov b79b6cf74b trigger_input_exti: fix comment position 2024-03-05 17:09:10 -05:00
Andrey Gusakov 8871bd18b8 adcTriggerTurnOnInputPin: isBrainPinValid() checked at caller 2024-03-05 17:09:10 -05:00
Andrey Gusakov 983b2222af trigger_input_adc: respect efiExtiEnablePin() ret value 2024-03-05 17:09:10 -05:00
Andrey Gusakov 83d6d9e7d8 extiTriggerTurnOnInputPin: respect efiExtiEnablePin() return value 2024-03-05 17:09:10 -05:00
Andrey Gusakov f4cd6de86d efiExtiEnablePin: return status to caller 2024-03-05 17:09:10 -05:00
Matthew Kennedy 3315aa9434 unused parameters 2024-01-07 22:36:20 -05:00
andreika-git 525d8355b3 trigger_input_comp is now ready for unused-vars 2023-11-03 15:47:40 -04:00
rusefillc b13a243af7 only:variable shadowing should be avoided #5676 2023-11-01 17:02:24 -04:00
rusefillc 54297824e0 only:variable shadowing should be avoided #5676 2023-11-01 16:25:30 -04:00
Andrey ba66fdcf82 reducing code duplication around assert 2023-09-05 21:28:39 -04:00
rusefi e8c45a2e7d refactoring: reducing code duplication. Also, do we even care for critical error codes?! 2023-08-20 22:23:44 -04:00
andreika-git 23891833be fix old bug (again?) 2023-06-06 23:59:04 +03:00
andreika-git a365fb585e more guard #ifdefs 2023-06-02 12:10:11 +03:00
andreika-git bbda2efe91 weak signal detector disabling option for trigger_input_adc 2023-06-02 00:07:59 +03:00
andreika-git d48978515b refactor trigger_input_adc 2023-06-02 00:07:25 +03:00
andreika-git 475927d203 more portability for trigger_input_adc 2023-06-02 00:06:58 +03:00
rusefillc 1c49d77fff extra flexibility to facilitate ports 2023-05-31 23:36:30 -04:00
rusefillc 57dec507c3 one step back 2023-05-24 01:13:57 -04:00
rusefillc b8e48e7ad7 code guard 2023-05-24 00:34:22 -04:00
rusefillc dcfdbf5ec5 dup 2023-05-24 00:17:46 -04:00
rusefillc 6be4b10a15 code guard 2023-05-24 00:11:40 -04:00
Matthew Kennedy 61e5b4b1ad change ObdCode to enum class builds firmware 2023-04-29 00:44:00 -04:00
rusefillc 71f4e6ca40 dead line 2023-04-19 17:40:14 -04:00
rusefillc f817462657 No "Trigger #3" possible at the moment 2023-04-19 17:36:47 -04:00
rusefillc d31ba5f179 trigger layer start-up is a mess fix #5241
reducing complexity of conditional compilation
2023-04-19 17:30:52 -04:00
rusefillc d423bb063a trigger layer start-up is a mess #5241
reducing the mess: moving logic out of strange method
2023-04-19 17:25:43 -04:00
rusefillc dae865210a trigger layer start-up is a mess #5241
reducing the mess: reducing code duplication
2023-04-19 17:21:23 -04:00
rusefillc cb2d817da9 trigger layer start-up is a mess #5241
refactoring: just renaming method
2023-04-19 17:19:20 -04:00
rusefillc 408d4fecb9 trigger layer start-up is a mess #5241
WAT? no reason to stop pins onEcuStart
2023-04-19 17:17:04 -04:00
rusefillc 56ea0bbc08 trigger layer start-up is a mess #5241
refactoring: just renaming method
2023-04-19 17:16:19 -04:00
rusefillc cffad07458 trigger layer start-up is a mess #5241
refactoring: just renaming method
2023-04-19 17:07:36 -04:00
rusefillc b149578bab style unification 2023-04-19 16:41:20 -04:00
Nathan Schulte 4cd649db86 firmware: digital_input logic depends e.g. HAL_USE_ADC 2022-11-18 23:24:54 -05:00
Nathan Schulte 51ecb95538 firmware: digital_input logic depends !EFI_SIMULATOR 2022-11-18 23:24:45 -05:00
Nathan Schulte 1da7242e06 firmware: digital_input logic depends on e.g. HAL_USE_ADC 2022-11-18 23:16:28 -05:00
Nathan Schulte 92d2a34941 firmware: digital_input: tidy #endif comments 2022-11-18 23:16:19 -05:00
Matthew Kennedy 658d1436fb
s (#4708) 2022-10-27 23:17:02 -04:00
rusefillc 98076927b0
progress: rpm register based on trigger input being none or not (#4691)
* progress: rpm register based on trigger input being none or not

* use helper functions

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-10-22 09:27:41 -04:00
rusefillc 7a1e729cd8 ROLLBACK 2022-10-21 22:45:46 -04:00
rusefillc 3abed33988 progress: rpm register based on trigger input being none or not 2022-10-21 22:07:41 -04:00
rusefillc 9cf3bca60c trigger input: dead code? 2022-10-21 21:10:58 -04:00
Andrey G 31180e179b
digital_input: check for valid callback not name! (#4575) 2022-09-13 18:02:00 -04:00
Andrey G 55c1f53c75
dead code, reduce typedefs (#4566)
* Do lightweight checks first

* Dead getTimeIgnitionSeconds()

Dead since 81fffe87b7

* Get rid of efitime_t.

Purpose are not clear. Use efitick_t where ticks are used,
use efitimeus_t for uS, use efitimems_t or efitimems64_t for mS.

* Fix unit tests

* Fix misc: stm32f1_test_project
2022-09-11 16:08:11 -04:00
rusefillc 851e8e48d3 refactoring: type safety 2022-09-11 02:57:35 -04:00
Matthew Kennedy 9738ba84ae
log missed exti events (#4473)
* log missed exti events

* units

* s

* guard

* stub for non stm32
2022-08-23 19:45:28 -04:00
rusefillc a020a4cf05 safer without LED 2022-07-26 04:35:12 -04:00
Matthew Kennedy e9d092f975
big delete ICU (#4270)
* big delete

* icu vestiges

* changelog
2022-07-07 15:27:59 -04:00
Matthew Kennedy 4ada633206
Remove third trigger channel (#4226)
* remove third trigger

* clean up the honda mess

* there was nothing novel about this engine config

* include

* missed a few

* s

* x

* changelog

* don't set the third trigger input

* don't redefine the same thing 3 times

* only two inputs!

* test
2022-06-01 21:24:20 -04:00
Matthew Kennedy e8be471b46
bail from trigger_central (#4210) 2022-05-29 10:42:08 -04:00
rusefillc 3dc70db9b1 less confusing error message https://rusefi.com/forum/viewtopic.php?p=45456#p45456 2022-05-28 17:46:45 -04:00