Skip to content

EventScheduler consumes 2milliAmps on Nrf51 #8133

Closed
@pjsf1000

Description

@pjsf1000

Description

With v.simple main function I have measure 2ma on a simple NRf dev board.
I am using the online compiler with MbedOS 5.9.7

static EventQueue eventQueue(/* event count */ 10 * EVENTS_EVENT_SIZE);

int main()
{  
    eventQueue.dispatch_forever();
    while (true) {
        Thread::wait(60000);
    }

    return 0;
}

Issue request type

[ ] Question
[ ] Enhancement
[x] Bug

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions