I had to remove the calls to rtc_gpio_isolate() to get the sketch to work.
I had to remove the calls to rtc_gpio_isolate() to get the sketch to work.