Compiler warning fixed

This commit is contained in:
Oleksandr Masliuchenko 2017-04-22 16:27:30 +03:00
parent e3753df280
commit 0590f27afa
1 changed files with 0 additions and 1 deletions

View File

@ -142,7 +142,6 @@ gpio_pin_mode gpio_get_mode(gpio_dev *dev, uint8 pin) {
gpio_reg_map *regs = dev->regs;
__io uint32 *cr = &regs->CRL + (pin >> 3);
uint32 shift = (pin & 0x7) * 4;
uint32 tmp = *cr;
uint32 crMode = (*cr>>shift) & 0x0F;