uint64_t wakeupBit = esp_sleep_get_ext1_wakeup_status(); if (wakeupBit & GPIO_SEL_33) {   // GPIO 33 woke up } else if (wakeupBit & GPIO_SEL_34) {   // GPIO 34 }