Skip to content

Commit

Permalink
remove warning of unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
KurtE committed Jul 25, 2024
1 parent 85c8e51 commit 87a6366
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion teensy4/core_pin_names.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ void pinMode(IMXRT_PIN_t pin_name, uint8_t mode)

Serial.printf("pinMode %x mux:%p pad:%p gdir:%p mask:%x\n", pin_name, mux, pad, gdir, mask);

const struct digital_pin_bitband_and_config_table_struct *p;
if (mode == OUTPUT || mode == OUTPUT_OPENDRAIN) {
*gdir |= mask; // TODO: atomic
if (mode == OUTPUT) {
Expand Down

0 comments on commit 87a6366

Please sign in to comment.