Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
micropython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
micropython
Commits
279e2561
Commit
279e2561
authored
Sep 20, 2023
by
iabdalkader
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drivers/esp_hosted_hal: Add support for WiFI LED activity indicator.
Signed-off-by:
iabdalkader
<
i.abdalkader@gmail.com
>
parent
a43e13c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
drivers/esp-hosted/esp_hosted_hal.c
drivers/esp-hosted/esp_hosted_hal.c
+6
-0
No files found.
drivers/esp-hosted/esp_hosted_hal.c
View file @
279e2561
...
...
@@ -37,6 +37,9 @@
#include "modmachine.h"
#include "extmod/machine_spi.h"
#include "mpconfigboard.h"
#ifdef MICROPY_HW_WIFI_LED
#include "led.h"
#endif
#include "esp_hosted_hal.h"
#include "esp_hosted_wifi.h"
...
...
@@ -44,6 +47,9 @@
extern
void
mod_network_poll_events
(
void
);
STATIC
mp_obj_t
esp_hosted_pin_irq_callback
(
mp_obj_t
self_in
)
{
#ifdef MICROPY_HW_WIFI_LED
led_toggle
(
MICROPY_HW_WIFI_LED
);
#endif
mod_network_poll_events
();
return
mp_const_none
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment