Skip to content

Commit 073cfe0

Browse files
committed
Correction of previous commit 2.
1 parent 719630e commit 073cfe0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

grbl_port/stm32/f1/nucleo-f103rb/cpu_map/cpu_map_nucleof103.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@
147147
#define DIRECTION_X_DDR GPIOB_CRL
148148
#define DIRECTION_X_PORT GPIOB_ODR
149149
#define X_DIRECTION_BIT 4 // NucleoF103 Digital PB4
150+
#define DIRECTION_MASK_X_DDR (0x00000001<<(X_DIRECTION_BIT*4 + 2))
150151
#define DIRECTION_X_DDR_RESET_MASK (0x00000003<<(X_DIRECTION_BIT*4 + 2))
151152
#define DIRECTION_MASK_X (0x00000001<<X_DIRECTION_BIT)
152153

0 commit comments

Comments
 (0)