mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-31 19:24:33 +02:00
examples/blink: convert tabs to spaces
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user