Hi,All:
As my source code below:
that whole "for" statement would be optimised.
uint32_t VAR1;
uint32_t VAR2;
nrf_gpio_cfg_output(power);
nrf_gpio_cfg_output(cs);
nrf_gpio_pin_set(cs);
// nrf_gpio_pin_set(power);
nrf_gpio_pin_clear(cs);
nrf_gpio_pin_set(cs);
for(VAR1=0;VAR1<10000;VAR1++)
{
}
nrf_gpio_pin_clear(cs);