Skip to content

memset seems to not work? #17

Closed
Closed
@beicnet

Description

@beicnet

Hi there,

I'm trying a char cleaning like in standard Arduino environment on the ATmega8, but I got error saying:

invalid conversion from 'char' to 'void*' [-fpermissive]

Code follows:

char pKey;
memset(pKey, 0, sizeof(pKey));

Any suggestions?

Regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions