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
9698a605
Commit
9698a605
authored
Apr 03, 2016
by
Paul Sokolovsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
esp8266/ets_alt_task: Comment out debug output.
parent
fcd68625
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
esp8266/ets_alt_task.c
esp8266/ets_alt_task.c
+4
-0
No files found.
esp8266/ets_alt_task.c
View file @
9698a605
...
...
@@ -42,6 +42,7 @@ static inline int prio2id(uint8_t prio) {
return
id
;
}
#if DEBUG
void
dump_task
(
int
prio
,
volatile
struct
task_entry
*
t
)
{
printf
(
"q for task %d: queue: %p, get ptr: %d, put ptr: %d, qlen: %d
\n
"
,
prio
,
t
->
queue
,
t
->
i_get
,
t
->
i_put
,
t
->
qlen
);
...
...
@@ -55,6 +56,7 @@ void dump_tasks(void) {
}
printf
(
"====
\n
"
);
}
#endif
bool
ets_task
(
os_task_t
task
,
uint8
prio
,
os_event_t
*
queue
,
uint8
qlen
)
{
static
unsigned
cnt
;
...
...
@@ -167,7 +169,9 @@ bool ets_run(void) {
*
(
char
*
)
0x3FFFC6FC
=
0
;
ets_intr_lock
();
printf
(
"ets_alt_task: ets_run
\n
"
);
#if DEBUG
dump_tasks
();
#endif
ets_intr_unlock
();
while
(
1
)
{
if
(
!
ets_loop_iter
())
{
...
...
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