diff --git a/platform/srf06-cc26xx/common/ext-flash.c b/platform/srf06-cc26xx/common/ext-flash.c index 62fea2288..7faaab0c0 100644 --- a/platform/srf06-cc26xx/common/ext-flash.c +++ b/platform/srf06-cc26xx/common/ext-flash.c @@ -94,7 +94,7 @@ static void select_on_bus(void) { - ti_lib_gpio_pin_write(BOARD_FLASH_CS, 0); + ti_lib_gpio_clear_dio(BOARD_IOID_FLASH_CS); } /*---------------------------------------------------------------------------*/ /** @@ -103,7 +103,7 @@ select_on_bus(void) static void deselect(void) { - ti_lib_gpio_pin_write(BOARD_FLASH_CS, 1); + ti_lib_gpio_set_dio(BOARD_IOID_FLASH_CS); } /*---------------------------------------------------------------------------*/ /**