diff --git a/stm32/libcanard/.clang-tidy b/stm32/libcanard/.clang-tidy index 9a2fcdb..680e0e1 100644 --- a/stm32/libcanard/.clang-tidy +++ b/stm32/libcanard/.clang-tidy @@ -13,12 +13,14 @@ Checks: >- performance-*, portability-*, readability-*, + -bugprone-easily-swappable-parameters, -cppcoreguidelines-avoid-magic-numbers, -cppcoreguidelines-macro-to-enum, -google-readability-todo, -llvm-header-guard, -modernize-macro-to-enum, -readability-avoid-const-params-in-decls, + -readability-identifier-length, -readability-magic-numbers, CheckOptions: - key: readability-function-cognitive-complexity.Threshold diff --git a/stm32/libcanard/bxcan/src/bxcan.c b/stm32/libcanard/bxcan/src/bxcan.c index 57dd1c7..13058ee 100644 --- a/stm32/libcanard/bxcan/src/bxcan.c +++ b/stm32/libcanard/bxcan/src/bxcan.c @@ -5,6 +5,7 @@ #include "bxcan.h" #include "bxcan_registers.h" #include +#include #include /// Configure the maximum interface index for the bxCAN hardware available in your MCU.