Browse Source

Fix compiler warning

main
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

@@ -111,7 +111,7 @@ void digitalWrite(uint8_t pin, uint8_t val)
void digitalToggle(uint8_t pin)
{
const struct digital_pin_bitband_and_config_table_struct *p;
uint32_t pinmode, mask;
uint32_t mask;

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

Loading…
Cancel
Save