Skip to content

3.2.0-dev: StackThunk optimistic_yield was not declared in this scope #1

Open
@InnuendoPi

Description

@InnuendoPi

...\cores\esp8266\StackThunk.cpp: In function 'void stack_thunk_yield()':
...\cores\esp8266\StackThunk.cpp:155:5: error: 'optimistic_yield' was not declared in this scope
155 | optimistic_yield(10000);
| ^~~~~~~~~~~~~~~~

adding extern void optimistic_yield solves compile error

...
extern "C" {
extern void optimistic_yield(uint32_t);
uint32_t *stack_thunk_ptr = NULL;
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions