Skip to content

Compile error on pgm_read_ptr with the code, migrated from avr #35

Closed
@starling13

Description

@starling13

I think pgmspace.h has an issue in pgm_read_ptr. Possibly fix:

-#define pgm_read_ptr(addr) (*(const void *)(addr))
+#define pgm_read_ptr(addr) (*(const void **)(addr))

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