Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

#define cli() __asm__ __volatile__ ("cli" ::: "memory") #1165

Closed
@fredOnGitHub

Description

@fredOnGitHub

Hello, I have a problem to recognize interruptions with UNO Rev 3

I get

bug

#define cli() __asm__ __volatile__ ("cli" ::: "memory")
Se développe sur :

__asm__ __volatile__ ("cli" ::: "memory")
identificateur "__asm__" non définiC/C++(20)
Peek Problem (Alt+F8)
No quick fixes available

My JSON is

...
 "defines": [
                "_DEBUG",
                "UNICODE",
                "_UNICODE",
                "__AVR_ATmega328P__",
                "USBCON"
            ],
...

Note : Ok for Serial with the adding of "USBCON" but for
cli()
TCCR2A
?

Thanks for your help

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