Skip to content

Commit

Permalink
disable readability-identifier-length & bugprone-easily-swappable-par…
Browse files Browse the repository at this point in the history
…ameters
  • Loading branch information
serges147 committed May 6, 2024
1 parent 7714906 commit f596d91
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions stm32/libcanard/.clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions stm32/libcanard/bxcan/src/bxcan.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#include "bxcan.h"
#include "bxcan_registers.h"
#include <assert.h>
#include <stdint.h>
#include <string.h>

/// Configure the maximum interface index for the bxCAN hardware available in your MCU.
Expand Down

0 comments on commit f596d91

Please sign in to comment.