Skip to content

code generator should use char instead of uint8_t for strings #2

@gladish

Description

@gladish

// {'name': 'Label', 'type': '[32]byte', 'size_bytes': 32}
uint8_t Label[32];

it looks like all places where [n]byte is used is a string. should just make that
char Label[32];

otherwise you have to cast when passing into strcpy() and friends.

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