Browse Source

Fix compiler warning

teensy4-core
PaulStoffregen 4 years ago
parent
commit
a7d9bac652
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      teensy4/digital.c

+ 1
- 1
teensy4/digital.c View File

void digitalToggle(uint8_t pin) void digitalToggle(uint8_t pin)
{ {
const struct digital_pin_bitband_and_config_table_struct *p; const struct digital_pin_bitband_and_config_table_struct *p;
uint32_t pinmode, mask;
uint32_t mask;


if (pin >= CORE_NUM_DIGITAL) return; if (pin >= CORE_NUM_DIGITAL) return;
p = digital_pin_to_info_PGM + pin; p = digital_pin_to_info_PGM + pin;

Loading…
Cancel
Save