Skip to content

enc28j60: irq handling #17593

@janwilleke

Description

@janwilleke

I think the function

static void on_int(void *arg)

is executed inside a irq context,
thus

will try to lock the mutex, and this is maybe locked by any other spi transfering function, thus it may hang for a while...
-> maybe better to not do any spi transface inside a irq function?

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions