Skip to content

[C] Preprocessor directive and string or multiline  #56

@Josar

Description

@Josar

I found an error in the code highlighting.

#ifdef __cplusplus
extern "C" {
#endif

The endif is not properly set to red color.

#if ((XTIMER_HZ % 15625) == 0)
#error "Unsupported hardware timer frequency (XTIMER_HZ), missing XTIMER_SHIFT \
in board.h? See xtimer.h documentation for more info"
#else
#error "Unknown hardware timer frequency (XTIMER_HZ), check board.h and/or add \
an implementation in sys/include/xtimer/tick_conversion.h"
#endif
#endif

And also in this code the two directives are not correctly set to red.

Metadata

Metadata

Assignees

No one assigned

    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