Commit Graph

16 Commits

Author SHA1 Message Date
rusefi 47269c20bf only: setTimeNowUs(): replace global fiddling with a function call 2024-04-27 11:00:55 -04:00
rusefi 302b11abee only: setTimeNowUs(): replace global fiddling with a function call 2024-04-27 10:06:14 -04:00
Andrey 164c6aa41e only: dead mockTimeMs 2024-04-17 15:27:35 -04:00
rusefillc f69b5fa972 no need for 'void'? 2024-04-03 13:09:06 -04:00
rusefi 114e656627 only:returning useful mocks 2023-11-01 19:08:27 -04:00
rusefi 78e48d3718 only:timer.h goes to libfirmware! 2023-08-30 23:11:24 -04:00
rusefillc b21455e178 CLI encapsulation preparing for libfirmware move 2023-08-08 23:02:20 -04:00
rusefillc 850b2631d8 CLI encapsulation preparing for libfirmware move 2023-08-08 18:58:16 -04:00
rusefillc cab0177df0
insist on setBoardConfigOverrides fix #4614 (#4615)
* insist on setBoardConfigOverrides fix #4614

* insist on setBoardConfigOverrides fix #4614

* insist on setBoardConfigOverrides fix #4614

* insist on setBoardConfigOverrides fix #4614

* insist on setBoardConfigOverrides fix #4614
2022-09-24 07:35:19 -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 4db4ac060c Code style for methods with zero arguments #3535 2022-01-11 22:40:52 -05:00
rusefillc 37183a0640 header style 2021-12-04 01:01:48 -05:00
rusefillc 0254a141df Whatever we call it, no matter how we do it - we need live data / remote view into rusEFI actual state #3353
progress
2021-10-14 15:17:30 -04:00
Matthew Kennedy 25414ebdad
yet more pch (#3068)
* big pch energy

* put back ramdisk stub

* tests are happy

* h743 nucleo

* kinetis

* I love deleting code!

* make stepper happy

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-08-03 22:05:01 -04:00
Matthew Kennedy bd599ab374
cleanup for pch (#3062)
* cleanup

* d
2021-07-25 20:43:02 -04:00
rusefillc 66cd0da92f Break out unit tests #2627 2021-05-07 17:43:24 -04:00