Ryan Blue
496e7c1bba
[hal] Refactor C++ handle closing; check for invalid handle before closing ( #7016 )
...
Adds a close function pointer template parameter to hal::Handle. This allows default destructors in many places.
The status parameter has been removed from close functions; in most places it was not used. Where it was, an error is printed instead.
2024-09-07 10:58:15 -07:00
Tyler Veness
5370f249a1
[build] Upgrade to wpiformat 2024.33 ( #6449 )
...
This upgrades to clang-format and clang-tidy 18.1.1. This has the
constructor attribute formatting fix, so we can remove our
WPI_DEPRECATED macro.
2024-03-18 23:11:20 -07:00
Tyler Veness
3a1194be40
Replace static_cast<void>() with [[maybe_unused]] attribute ( #5892 )
...
This clarifies intent. Not done for thirdparty libraries or
structured binding variables.
2023-11-08 12:47:23 -08:00
Tyler Veness
d651a1fcec
Fix internal deprecation warnings ( #4257 )
...
This allows us to error out on deprecation warnings for thirdparty
libraries and standard library features.
Co-authored-by: Starlight220 <53231611+Starlight220@users.noreply.github.com >
2022-05-24 13:56:48 -07:00
Thad House
29ae8640d9
[HLT] Implement duty cycle cross connect tests ( #3453 )
2021-06-19 20:11:52 -07:00
Thad House
ee6377e54b
[HLT] Add relay and analog cross connects ( #3452 )
2021-06-19 13:03:58 -07:00
Thad House
73fcbbd748
[HLT] Add relay digital cross connect tests ( #3450 )
2021-06-19 01:21:56 -07:00
Thad House
e7bedde835
[HLT] Add PWM tests that use DMA as the back end ( #3447 )
...
Both a decent DMA test, and slightly more reliable PWM test.
2021-06-19 01:21:07 -07:00
Thad House
26ff9371d9
Initial commit of cross connect integration test project ( #3434 )
...
Adding as a separate project so current integration tests stay working.
2021-06-14 20:08:11 -07:00