Skip to content

Commit

Permalink
Update pinsel.c
Browse files Browse the repository at this point in the history
fix debugging
  • Loading branch information
pwittich committed May 9, 2019
1 parent a704952 commit a34cdfe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions common/pinsel.c
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,9 @@ void pinsel(int pin, uint32_t * x_gpio_port, uint8_t * x_gpio_pin )
default:
gpio_port = -1;
gpio_pin = -1;
#ifdef DEBUG
__error__(__FILE__, __LINE__);
#endif // DEBUG
break;
}

Expand Down

0 comments on commit a34cdfe

Please sign in to comment.