Skip to content

Commit 588b11d

Browse files
Update Makefile & embox_blinking_led_example_ru
1 parent 6ff6904 commit 588b11d

File tree

2 files changed

+14
-15
lines changed

2 files changed

+14
-15
lines changed

Makefile

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ user_manual_en:
77
en/headers/embox_user_manual_header_en.md \
88
en/embox_quick_overview_en.md \
99
en/embox_quick_start_en.md \
10-
en/embox_supported_platforms_en.md \
11-
en/embox_supported_platforms_qemu_en.md \
12-
en/embox_supported_platforms_x86_en.md \
13-
en/embox_supported_platforms_arm_en.md \
10+
en/platforms/embox_supported_platforms_en.md \
11+
en/platforms/embox_supported_platforms_qemu_en.md \
12+
en/platforms/embox_supported_platforms_x86_en.md \
13+
en/platforms/embox_supported_platforms_arm_en.md \
1414
en/drivers/embox_drivers_en.md \
1515
en/drivers/embox_drivers_framebuffer_en.md \
1616
en/drivers/embox_drivers_flash_en.md \
@@ -43,10 +43,10 @@ user_manual_ru:
4343
ru/headers/embox_user_manual_header_ru.md \
4444
ru/embox_quick_overview_ru.md \
4545
ru/embox_quick_start_ru.md \
46-
ru/embox_supported_platforms_ru.md \
47-
ru/embox_supported_platforms_qemu_ru.md \
48-
ru/embox_supported_platforms_x86_ru.md \
49-
ru/embox_supported_platforms_arm_ru.md \
46+
ru/platforms/embox_supported_platforms_ru.md \
47+
ru/platforms/embox_supported_platforms_qemu_ru.md \
48+
ru/platforms/embox_supported_platforms_x86_ru.md \
49+
ru/platforms/embox_supported_platforms_arm_ru.md \
5050
ru/embox_modular_structure_ru.md \
5151
ru/drivers/embox_drivers_ru.md \
5252
ru/drivers/embox_drivers_diag_ru.md \
@@ -61,9 +61,9 @@ user_manual_ru:
6161
ru/drivers/embox_drivers_devfs_ru.md \
6262
ru/embox_build_ru.md \
6363
ru/embox_execute_debug_ru.md \
64-
ru/embox_hello_world_example_ru.md \
65-
ru/embox_blinking_led_example_ru.md \
66-
ru/embox_external_app_example_ru.md \
64+
ru/examples/embox_hello_world_example_ru.md \
65+
ru/examples/embox_blinking_led_example_ru.md \
66+
ru/examples/embox_external_app_example_ru.md \
6767
ru/embox_cxx_support_ru.md \
6868
-o embox_user_manual_ru.pdf
6969

ru/examples/embox_blinking_led_example_ru.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,14 @@ int main(int argc, char *argv[]) {
5555
5656
```c
5757
#include <unistd.h>
58-
#include <kernel/irq.h>
58+
5959
#include <drivers/gpio/gpio.h>
6060
6161
#define LED4_PIN (1 << 12)
6262
#define USER_BUTTON_PIN (1 << 0)
6363
64-
irq_return_t user_button_hnd(unsigned int irq_nr, void *data) {
65-
gpio_toggle(GPIO_PORT_D, LED4_PIN);
66-
return IRQ_HANDLED;
64+
void user_button_hnd(void *data) {
65+
gpio_toggle(GPIO_PORT_D, LED4_PIN);
6766
}
6867
6968
int main(int argc, char *argv[]) {

0 commit comments

Comments
 (0)