Commit Graph

645 Commits

Author SHA1 Message Date
Matthew Kennedy 5288bf02e5 dead code 2025-05-03 00:20:15 -07:00
Matthew Kennedy d5ee90ccd3 why did we have efiStrlen when it's identical to strlen? 2025-05-03 00:18:42 -07:00
Matthew Kennedy 59ccbcdf4d minor interpolation cleanup 2025-03-06 12:12:45 -08:00
Matthew Kennedy 77adc59747 biquad 2025-02-27 19:56:13 -08:00
Matthew Kennedy 59d8c0bec1 add biquad highpass 2025-02-27 19:36:37 -08:00
Matthew Kennedy 426703be15 format 2025-02-27 19:32:49 -08:00
Matthew Kennedy 9dcf76d99c
Remove stack checks (#558)
* remove stack checks

* put one back
2025-02-18 17:33:24 -08:00
Matthew Kennedy c1349b01dd misc pid/etb cleanup 2024-12-23 13:44:14 -08:00
Matthew Kennedy 54f2dd85f6 dead Pid::updateFactors 2024-12-23 13:19:56 -08:00
Matthew Kennedy f121a39845 PID: dead code 2024-12-23 13:16:54 -08:00
Matthew Kennedy ac6a3e0737 unnecessary virtual 2024-12-23 13:13:27 -08:00
Matthew Kennedy e4d6e61a78 remove pid_s::periodMs, the user shouldn't set this 2024-12-23 13:12:31 -08:00
Matthew Kennedy e5d05cb74f inline so it doesn't complain 2024-12-23 13:05:55 -08:00
Matthew Kennedy 6ccb6d3a19 dead PID showPidStatus, sleep 2024-12-23 13:01:01 -08:00
Matthew Kennedy 89a578bee7 throw an error for impossible ETB PID 2024-12-23 12:58:12 -08:00
Matthew Kennedy 791f26ca8a Simplify idle: no "pid industrial" 2024-12-23 00:30:04 -08:00
Matthew Kennedy 6844e5ec58 dead PidWithParameters 2024-12-22 23:32:29 -08:00
Matthew Kennedy ef485e8b53 != OK vs == RESET 2024-12-19 23:29:25 -08:00
Matthew Kennedy 53a88c83f1 return free buffer outside lock like #523 2024-12-19 20:25:42 -08:00
rusefillc 4ab025960a
logging central: memseting 6500 bytes is waste of time (#520)
(cherry picked from commit 90bd38d6377e99f7960c319eb6c6df82c6222b18)

Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2024-12-16 21:38:21 -08:00
Matthew Kennedy c49cdfb0a4 a little bit of NC WSS 2024-11-07 11:43:33 -08:00
Matthew Kennedy 48d25544f9 min/maxF -> std::min/max 2024-09-25 14:02:00 -07:00
Matthew Kennedy e25962569c don't inject VE table, prep #459 2024-09-25 00:49:16 -07:00
Matthew Kennedy 084a1d0dfd std::abs 2024-09-24 23:47:37 -07:00
Matthew Kennedy f4aef3e213 happy simulator 2024-09-18 22:49:12 -07:00
Matthew Kennedy b5271f0991 misc logging cleanup 2024-09-18 22:17:07 -07:00
Matthew Kennedy 3a394dc83a ETB expAverage cleanup #489 2024-09-17 18:49:13 -07:00
Matthew Kennedy 5c3d417441 simpler ETB jam detection #489
rather than try to integrate error over time, simply fault if there's been too much error for too long. Up to +-X error is allowed for any period of time, more is allowed for Y seconds.
2024-09-17 17:58:19 -07:00
Matthew Kennedy 04120a3aa2 format 2024-09-15 01:12:12 -07:00
Matthew Kennedy f73becda1d minor cleanups 2024-09-15 00:59:21 -07:00
Matthew Kennedy 7baafcc576 milliseconds are evil, use timer 2024-09-12 23:54:20 -07:00
Matthew Kennedy 227723484c useless comment 2024-08-29 22:40:53 -07:00
Matthew Kennedy 1913853adb more dead efifeatures 2024-08-07 12:03:10 -07:00
Matthew Kennedy f086b94c81 cisnan -> std::isnan 2024-07-22 16:00:59 -07:00
Matthew Kennedy aa5ea293e6 cisnan -> std::isnan 2024-07-22 12:15:40 -07:00
Matthew Kennedy 63b07e5d1f cisnan -> std::isnan 2024-07-22 12:05:17 -07:00
Matthew Kennedy 23f91d2fca wow, all of this was dead code 2024-07-03 00:37:27 -07:00
Matthew Kennedy bb1d5f26d2 for loop formatting 2024-07-03 00:22:48 -07:00
Matthew Kennedy 1e2cd76a9d only check on firmware for now? 2024-06-10 01:00:23 -07:00
Matthew Kennedy 2c14f4e3c1 compile-time enforcement of printf strings 2024-06-10 00:56:03 -07:00
Matthew Kennedy 6758e2dfc0 compile-time enforcement of printf strings 2024-06-10 00:53:24 -07:00
Matthew Kennedy cf87e64119 compile-time enforcement of printf strings 2024-06-10 00:51:14 -07:00
Nathan Schulte ad8ddf59df
stringop-overflow error (#429)
* enable stringop-overflow as error

* avoid false positive stringop-overflow in static_vector
2024-05-23 14:46:06 -07:00
Matthew Kennedy a4897ebc09 Map3D considered harmful #421 2024-05-03 22:43:06 -07:00
Matthew Kennedy fecb5f6cfc unit test time is actually stored in ticks 2024-04-27 02:04:25 -07:00
Matthew Kennedy 80358ad54e setTimeNowUs(): replace global fiddling with a functino call 2024-04-27 01:59:38 -07:00
Matthew Kennedy decbaaef4a common getTimeNowUs 2024-04-25 22:01:46 -07:00
Matthew Kennedy be2c04813a common getTimeNowS 2024-04-25 21:57:50 -07:00
Matthew Kennedy 632c493c4f little bit of encapsulatino 2024-04-25 16:18:51 -07:00
Matthew Kennedy 79dfb0f2c4 wrap times in simple structs 2024-04-25 15:46:53 -07:00