remove uses of deprecated watch_gpio functions

This commit is contained in:
joeycastillo
2024-10-07 09:01:21 -04:00
parent ab861d81d1
commit 4933a84a2c
14 changed files with 43 additions and 46 deletions

View File

@@ -31,11 +31,11 @@
#define SPI_FLASH_FAST_READ false
static void flash_enable(void) {
watch_set_pin_level(A3, false);
HAL_GPIO_A3_clr();
}
static void flash_disable(void) {
watch_set_pin_level(A3, true);
HAL_GPIO_A3_set();
}
static bool transfer(uint8_t *command, uint32_t command_length, uint8_t *data_in, uint8_t *data_out, uint32_t data_length) {