We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3753df commit 0590f27Copy full SHA for 0590f27
STM32F1/cores/maple/libmaple/gpio_f1.c
@@ -142,7 +142,6 @@ gpio_pin_mode gpio_get_mode(gpio_dev *dev, uint8 pin) {
142
gpio_reg_map *regs = dev->regs;
143
__io uint32 *cr = ®s->CRL + (pin >> 3);
144
uint32 shift = (pin & 0x7) * 4;
145
- uint32 tmp = *cr;
146
147
uint32 crMode = (*cr>>shift) & 0x0F;
148
0 commit comments