diff --git a/src/main.c b/src/main.c index c006440..35c4d89 100644 --- a/src/main.c +++ b/src/main.c @@ -475,11 +475,10 @@ int main(void) { #endif #endif - //ccid_prepare_receive(&ccid); #ifdef ESP_PLATFORM uint8_t gpio = GPIO_NUM_48; if (file_has_data(ef_phy)) { - if (file_read_uint8_offset(ef_phy, PHY_OPTS + 1) & PHY_OPT_GPIO) { + if (file_read_uint8_offset(ef_phy, PHY_OPTS) & PHY_OPT_GPIO) { gpio = file_get_data(ef_phy)[PHY_LED_GPIO]; } }