Merge branch 'bugfix/blink_tabs' into 'master'

examples/blink: convert tabs to spaces

See merge request espressif/esp-idf!12065
This commit is contained in:
Ivan Grokhotkov
2021-01-22 19:53:50 +08:00

View File

@@ -30,11 +30,11 @@ void app_main(void)
gpio_set_direction(BLINK_GPIO, GPIO_MODE_OUTPUT); gpio_set_direction(BLINK_GPIO, GPIO_MODE_OUTPUT);
while(1) { while(1) {
/* Blink off (output low) */ /* Blink off (output low) */
printf("Turning off the LED\n"); printf("Turning off the LED\n");
gpio_set_level(BLINK_GPIO, 0); gpio_set_level(BLINK_GPIO, 0);
vTaskDelay(1000 / portTICK_PERIOD_MS); vTaskDelay(1000 / portTICK_PERIOD_MS);
/* Blink on (output high) */ /* Blink on (output high) */
printf("Turning on the LED\n"); printf("Turning on the LED\n");
gpio_set_level(BLINK_GPIO, 1); gpio_set_level(BLINK_GPIO, 1);
vTaskDelay(1000 / portTICK_PERIOD_MS); vTaskDelay(1000 / portTICK_PERIOD_MS);
} }