switch_1 and switch_2

This commit is contained in:
2024-01-06 02:24:11 -05:00
parent 76a17f1e85
commit 78c08718ee
3 changed files with 11 additions and 1 deletions

View File

@@ -113,6 +113,7 @@ void app_driver_init()
.mode = GPIO_MODE_OUTPUT,
.pull_up_en = 1,
};
// Bit mask to configure output GPIOs
io_conf.pin_bit_mask = ((uint64_t)1 << OUTPUT_GPIO);
/* Configure the GPIO */
gpio_config(&io_conf);