Skip to content

Commit

Permalink
correct a mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
Joy authored and utzig committed Dec 21, 2021
1 parent 017f5f2 commit 4f0d4f0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions os/hal/ports/WB32/LLD/GPIOv1/hal_pal_lld.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@
#define PAL_WB32_ALTERNATE(n) ((n) << 7U)

#define PAL_WB32_CURRENT_MASK (3U << 11U)
#define PAL_WB32_CURRENT_LEVE0 (0U << 11U)
#define PAL_WB32_CURRENT_LEVE1 (1U << 11U)
#define PAL_WB32_CURRENT_LEVE2 (2U << 11U)
#define PAL_WB32_CURRENT_LEVE3 (3U << 11U)
#define PAL_WB32_CURRENT_LEVEL0 (0U << 11U)
#define PAL_WB32_CURRENT_LEVEL1 (1U << 11U)
#define PAL_WB32_CURRENT_LEVEL2 (2U << 11U)
#define PAL_WB32_CURRENT_LEVEL3 (3U << 11U)

/**
* @brief Alternate function.
Expand Down

0 comments on commit 4f0d4f0

Please sign in to comment.