Commit Graph

15601 Commits

Author SHA1 Message Date
rusefi 88011024d9 at the moment efiWatchdog always fails on enable, would this fix? 2022-09-11 21:15:25 -04:00
GitHub set-date Action 944fb57bca Update date 2022-09-12 00:23:15 +00: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
Andrey G e2addd1951
Supress tons of warning from triggers (#4565) 2022-09-11 15:25:58 -04:00
Andrey G 8069506135
EFI_PROD_CODE guard around port_mpu_util.h include (#4564) 2022-09-11 13:42:07 -04:00
Andrey G 91d4844e38
time routines refactor (#4563)
* Extract time helpers from engine_controller_misc to efitime.cpp

* Rename currentTimeMillis() to getTimeNowMs()

We have getTimeNowNt(), getTimeNowUs(), currentTimeMillis() and getTimeNowSeconds()
Align a bit.

find . -type f -name '*.c*' -exec sed -i 's/currentTimeMillis/getTimeNowMs/g' {} \;

* Rename getTimeNowSeconds() to getTimeNowS()

To align with Nt, Us, Ms versions.

* Some comments about getTimeNowLowerNt()
2022-09-11 13:06:03 -04:00
rusefillc 7cc41dfa75 human brain does need sleep 2022-09-11 12:40:24 -04:00
rusefillc 07727f5d0a Revert "refactoring: type safety"
This reverts commit ed7908a69d.
2022-09-11 11:14:20 -04:00
rusefillc ed7908a69d refactoring: type safety 2022-09-11 11:00:12 -04:00
Andrey G 19226cb656
efiWatchdog: avoid converting time to float (#4562)
https://stackoverflow.com/questions/68690961/why-does-converting-int-to-float-lose-precision-in-c-programming-language
2022-09-11 05:46:55 -04:00
rusefillc 2eca6ec3c7 refactoring: type safety 2022-09-11 05:41:01 -04:00
GitHub gen-configs Action d8169b5643 Auto-generated configs and docs 2022-09-11 07:53:45 +00:00
rusefillc 2a05a31550 refactoring: type safety 2022-09-11 03:46:50 -04:00
rusefillc 851e8e48d3 refactoring: type safety 2022-09-11 02:57:35 -04:00
GitHub gen-configs Action 23fc3f288d Auto-generated configs and docs 2022-09-11 06:42:14 +00:00
rusefillc 9ef8ca604c Merge branch 'master' of https://github.com/rusefi/rusefi 2022-09-11 02:35:25 -04:00
rusefillc 565b8dfc2d dead value 2022-09-11 02:34:02 -04:00
GitHub gen-configs Action 34d37a9270 Auto-generated configs and docs 2022-09-11 06:32:36 +00:00
rusefillc 6e71b72acc refactoring - reducing API between FW and Java 2022-09-11 02:16:47 -04:00
rusefillc dde67e20d6 Merge branch 'master' of https://github.com/rusefi/rusefi 2022-09-11 02:04:52 -04:00
rusefillc 94762094a7 refactoring - reducing API between FW and Java 2022-09-11 01:59:44 -04:00
GitHub gen-configs Action 85d2b6feda Auto-generated configs and docs 2022-09-11 05:07:57 +00:00
rusefillc 6936aed5e4 a bit of dead code 2022-09-11 01:02:56 -04:00
rusefillc cfb843b315 send more of Engine Sniffer data #4560
hello Kinetis it has been a while!
2022-09-11 00:18:08 -04:00
rusefillc 6bcd29c727 send more of Engine Sniffer data #4560
new API & first usage
2022-09-10 23:42:59 -04:00
GitHub gen-configs Action 12a6a2c29b Auto-generated configs and docs 2022-09-11 00:32:12 +00:00
rusefillc 7bc7299db1 send more of Engine Sniffer data #4560 2022-09-10 20:25:29 -04:00
GitHub set-date Action d921d5cd22 Update date 2022-09-11 00:23:55 +00:00
rusefillc 541cd5caee Proteus with SD card outside of vehicle looses a second #4557
message correction
2022-09-10 11:43:25 -04:00
GitHub gen-configs Action 92edeacfba Auto-generated configs and docs 2022-09-10 05:10:22 +00:00
rusefillc 37e65e159a Mark is asking for VIN number field #3967
GM says Hi
2022-09-10 01:05:31 -04:00
rusefillc f94d7ca78f E67 2022-09-09 22:01:11 -04:00
Andrey 3e9f8fe5cc clean-up 2022-09-09 21:57:19 -04:00
rusefillc 09fe58a2d6 E67 2022-09-09 21:35:15 -04:00
rusefillc 4b56d843ed E67 2022-09-09 21:28:54 -04:00
GitHub set-date Action a803fef55b Update date 2022-09-10 00:29:48 +00:00
rusefillc 3f6d05dce0 Proteus with SD card outside of vehicle looses a second #4557 2022-09-09 20:17:02 -04:00
GitHub gen-configs Action 294af19ca2 Auto-generated configs and docs 2022-09-09 23:26:22 +00:00
rusefillc 8d770daca8 "Blip" with trigger error on several boards #4552
exploratory watchdog
2022-09-09 19:21:29 -04:00
rusefillc a3d86c61f2 "Blip" with trigger error on several boards #4552
exploratory watchdog
2022-09-09 18:27:16 -04:00
rusefillc e89f553d55 Refactor or add code comments fix #4555 2022-09-09 18:11:27 -04:00
rusefillc 45eaa0546c refactoring: better method name 2022-09-09 18:02:38 -04:00
GitHub gen-configs Action b124dbe753 Auto-generated configs and docs 2022-09-09 22:00:10 +00:00
rusefillc 7b4a5c9be6 vvtBooleanForVerySpecialCases, tempBooleanForVerySpecialLogic 2022-09-09 17:52:54 -04:00
rusefillc 6b03f4ba68 How does rusEFI handle 23 (or 46?) days of continues operation #4554 2022-09-09 17:21:58 -04:00
Andrey ea7413a2a4 E38 2022-09-09 02:13:17 -04:00
GitHub gen-configs Action d98425ef5b Auto-generated configs and docs 2022-09-09 02:11:30 +00:00
rusefillc d676d0bbc8 E67 2022-09-08 22:06:21 -04:00
rusefillc 1f5a2f0c65 B6 2022-09-08 22:06:21 -04:00
GitHub set-date Action 6ff40b62d2 Update date 2022-09-09 00:25:34 +00:00
GitHub gen-configs Action 6a8e248d48 Auto-generated configs and docs 2022-09-08 20:30:30 +00:00
Matthew Kennedy 72299bd1ba
only report vvt position if we have full sync (#4547)
* only report vvt position if we have full sync

* comments

* make it selectable, since that makes the test useful
2022-09-08 16:15:36 -04:00
rusefillc 87416b0dcf defaults clean-up: silentTriggerError 2022-09-08 14:44:34 -04:00
Andrey 0cf66762ad dead 2022-09-08 00:20:56 -04:00
Andrey 0d72d41721 refactoring: brining stuff closer 2022-09-08 00:19:24 -04:00
rusefillc 9e9c0217b8
huh? dead code? how can we get NAN from eventAngles table? (#4549) 2022-09-07 23:45:33 -04:00
Andrey a3d51d8b49 refactoring: better place for cam validation 2022-09-07 23:31:44 -04:00
Andrey c60e0382dc refactoring: parameter rename 2022-09-07 23:24:24 -04:00
Andrey 73a7b24871 remove alternator on/off mode fix #4548 2022-09-07 23:06:34 -04:00
GitHub gen-configs Action 766735f3b6 Auto-generated configs and docs 2022-09-08 02:51:42 +00:00
Andrey dab9e04b25 remove alternator on/off mode fix #4548 2022-09-07 22:46:42 -04:00
GitHub gen-configs Action 27c40e162b Auto-generated configs and docs 2022-09-08 02:41:09 +00:00
Andrey 8e49542600 trigger: in corner cases like NB2 and VQ35 those are not revolutions 2022-09-07 22:24:28 -04:00
Andrey 00fea2cbe5 trigger: in corner cases like NB2 and VQ35 those are not revolutions 2022-09-07 21:45:59 -04:00
Andrey d3eab7c3b7 brutal encapsulation 2022-09-07 21:29:11 -04:00
Andrey 5962cbd5c2 brutal encapsulation 2022-09-07 20:31:04 -04:00
Andrey 52869d63bb tear down Engine god object #4511
just trying different things
2022-09-07 20:25:49 -04:00
Andrey ae93591755 brutal encapsulation 2022-09-07 20:20:29 -04:00
GitHub gen-configs Action e864675fd3 Auto-generated configs and docs 2022-09-07 23:51:55 +00:00
Andrey 8c21b4ef41 brutal encapsulation 2022-09-07 19:37:11 -04:00
Andrey 6e8d248408 brutal encapsulation 2022-09-07 19:37:11 -04:00
Andrey 173ceae146 extracting prime_injection 2022-09-07 16:27:56 -04:00
Andrey 2d9dbbd6b8 extracting prime_injection 2022-09-07 16:25:50 -04:00
Andrey 7eb453bc54 os_access.h dead? 2022-09-07 16:00:13 -04:00
Andrey ab4b451195 os_access.h dead? 2022-09-07 15:56:45 -04:00
Andrey 76d252444f Merge branch 'master' of https://github.com/rusefi/rusefi 2022-09-07 15:46:08 -04:00
Andrey 197454ac34 tear down Engine god object #4511
just trying different things
2022-09-07 15:38:15 -04:00
Andrey 52ad9ced0b B6 2022-09-07 15:36:50 -04:00
Matthew Kennedy aeeef3dbd0
reset instant RPM in case of cam resync (#4544) 2022-09-06 21:38:35 -04:00
GitHub set-date Action 2396168fc2 Update date 2022-09-07 00:28:42 +00:00
GitHub gen-configs Action d2e6ff3da3 Auto-generated configs and docs 2022-09-06 23:24:03 +00:00
Matthew Kennedy 5c435526e6
safer/clearer index management (#4543) 2022-09-06 19:19:16 -04:00
GitHub gen-configs Action 141a6f3f1e Auto-generated configs and docs 2022-09-06 20:38:08 +00:00
rusefi f399e275b2 servo is truly not alive 2022-09-06 16:29:12 -04:00
Andrey 07d895dfeb B6 2022-09-06 15:12:43 -04:00
GitHub gen-configs Action e695801d5d Auto-generated configs and docs 2022-09-06 01:30:37 +00:00
Andrey 4b2924eabe Engine Sniffer into TS data logs #4535 2022-09-05 20:57:18 -04:00
Matthew Kennedy b305308ef6
add hysteresis to limp rpm, boost, injector duty (#4541)
* add hysteresis

* changelog
2022-09-05 20:56:32 -04:00
Andrey 684923f4c1 refactoring: reducing outputChannels copy 2022-09-05 20:53:38 -04:00
Andrey dcd757b134 this one not my fault 2022-09-05 20:48:36 -04:00
Andrey 4c9df01b64 wow Leiderman-Khlystov 2022-09-05 20:02:33 -04:00
rusefillc a7af8ecec9
Engine Sniffer into TS data logs fix #4535 (#4537) 2022-09-05 19:49:27 -04:00
GitHub gen-configs Action f686f6435b Auto-generated configs and docs 2022-09-05 23:31:52 +00:00
rusefillc 17f2a8e638 customTotalToothCount has to be positive and realistic 2022-09-05 19:25:06 -04:00
GitHub gen-configs Action fc41792afd Auto-generated configs and docs 2022-09-05 23:06:15 +00:00
rusefillc 1375f6e0bc not used by BL? 2022-09-05 18:48:02 -04:00
rusefillc 6a6f6fde9f +x 2022-09-05 18:39:06 -04:00
Andrey 13c42ead92 tear down Engine god object #4511
just trying different things
2022-09-05 04:28:47 -04:00
Andrey 4934d76d88 tear down Engine god object #4511
just trying different things
2022-09-05 04:24:17 -04:00
Andrey c9828a8b0f tear down Engine god object #4511
just trying different things
2022-09-05 04:10:14 -04:00
Andrey 09bef1e440 tear down Engine god object #4511
just trying different things
2022-09-05 04:09:59 -04:00
Andrey b756456450 tear down Engine god object #4511
just trying different things
2022-09-05 04:00:24 -04:00
Andrey f1f447df45 tear down Engine god object #4511
just trying different things
2022-09-05 03:38:44 -04:00
Andrey 9a19eaa320 tear down Engine god object #4511
just trying different things
2022-09-05 03:18:32 -04:00
Andrey 0253575c79 tear down Engine god object #4511
just trying different things
2022-09-05 03:07:03 -04:00
Andrey 99d8801dc6 tear down Engine god object #4511
just trying different things
2022-09-05 02:59:38 -04:00
Andrey 268a5c7964 tear down Engine god object #4511
just trying different things
2022-09-05 02:44:06 -04:00
Andrey 6d72805a56 tear down Engine god object #4511
just trying different things
2022-09-05 02:28:46 -04:00
Andrey e2e2d67674 Merge branch 'master' of https://github.com/rusefi/rusefi 2022-09-05 01:39:53 -04:00
GitHub gen-configs Action f59de1296b Auto-generated configs and docs 2022-09-05 05:33:14 +00:00
Andrey 7139c21e7a Injection Offset for skipped wheel triggers fix #4536 2022-09-05 01:31:03 -04:00
Andrey aec5c60f15 Engine Sniffer into TS data logs #4535 2022-09-05 01:25:12 -04:00
Andrey c1b218b772 refactoring: let's use different names for different things 2022-09-05 01:16:24 -04:00
Andrey d51511a15e refactoring: moving field 2022-09-05 00:53:05 -04:00
Andrey ccfe2a5d58 refactoring: splitting header where cpp was already split 2022-09-05 00:48:38 -04:00
Andrey 0ed576031e refactoring: moving method closer to usage 2022-09-05 00:32:36 -04:00
Andrey 388a5e9738 Require full sync for odd cylinder count fix #4533 2022-09-05 00:21:38 -04:00
Andrey a0b52eeb2f different file names for different entities 2022-09-04 23:11:19 -04:00
Andrey a70d21d789 refactoring: reducing outputChannels copy 2022-09-04 23:03:42 -04:00
GitHub gen-configs Action ddcadae4e2 Auto-generated configs and docs 2022-09-05 02:56:42 +00:00
Andrey 47f4001d11 refactoring: reducing outputChannels copy 2022-09-04 22:51:11 -04:00
GitHub gen-configs Action aed7b77535 Auto-generated configs and docs 2022-09-05 02:44:56 +00:00
Andrey 71e5fbcb55 refactoring: reducing outputChannels copy 2022-09-04 22:38:05 -04:00
GitHub set-date Action 525a62b410 Update date 2022-09-05 00:27:03 +00:00
rusefi 5c88f4c1f0 B6 2022-09-04 11:29:18 -04:00
GitHub gen-configs Action bc332bf879 Auto-generated configs and docs 2022-09-04 13:57:19 +00:00
Matthew Kennedy b0cbe01673
use defs instead of magic numbers (#4523)
* use defs instead of magic numbers

* consecutive
2022-09-04 09:52:14 -04:00
Matthew Kennedy 9407150544
more granular trigger error messages (#4526)
* granular trigger error messages

* adjust test expectations

* explicitly test behavior
2022-09-04 09:15:24 -04:00
GitHub gen-configs Action 2916c3eced Auto-generated configs and docs 2022-09-04 00:47:06 +00:00
GitHub set-date Action e0ed0ca451 Update date 2022-09-04 00:24:14 +00:00
GitHub gen-configs Action f6cf4700ff Auto-generated configs and docs 2022-09-03 21:43:03 +00:00
rusefi c4f79aa978 refactoring: reducing outputChannels copy 2022-09-03 17:38:06 -04:00
GitHub gen-configs Action fa3b2fe009 Auto-generated configs and docs 2022-09-03 21:35:26 +00:00
rusefi 2a08cd5c2b refactoring: reducing outputChannels copy 2022-09-03 17:29:35 -04:00
Andrey 632bf967bb refactoring: reducing outputChannels copy 2022-09-03 17:12:47 -04:00
GitHub gen-configs Action 864d3e750f Auto-generated configs and docs 2022-09-03 16:03:42 +00:00
Matthew Kennedy e2433b0fe4
fix critical error readout (#4521)
* this indicator must be EXACTLY like this

* formatting tweaks while we're here
2022-09-03 11:57:55 -04:00
Andrey 6b4e6c8169 tear down Engine god object #4511
just trying different things
2022-09-03 11:07:26 -04:00
Andrey bd7b6e6736 tear down Engine god object #4511
just trying different things
2022-09-03 11:05:27 -04:00
GitHub gen-configs Action 19d0496966 Auto-generated configs and docs 2022-09-03 11:50:22 +00:00
Andrey d329f8ae10 tear down Engine god object #4511
just trying different things
2022-09-03 07:44:24 -04:00
rusefillc aef1f19af9 typo 2022-09-03 07:26:49 -04:00
Andrey 759a15c763 dead 2022-09-03 06:59:00 -04:00
Andrey c28c876357 todo: what is broken _exactly_? 2022-09-03 06:55:47 -04:00
GitHub gen-configs Action a3194524db Auto-generated configs and docs 2022-09-03 04:02:59 +00:00
rusefillc 6e405c9e0c Adding stuff into livedata.yaml needs _two_ rounds of config generation #4514 2022-09-02 23:15:47 -04:00
GitHub set-date Action 35db27028b Update date 2022-09-03 00:21:31 +00:00
GitHub gen-configs Action 244ef7630d Auto-generated configs and docs 2022-09-02 18:42:52 +00:00
rusefillc 25f4ebbc01
moving state into specific class (#4520)
* moving state into specific class

* moving state into specific class
2022-09-02 14:38:03 -04:00
rusefillc f6ae78e72c
another huh (#4517)
* another huh

* why does this not compile
2022-09-02 13:10:21 -04:00