Skip to content

typedef unsigned int word #91

Closed
Closed
@hcs-svn

Description

@hcs-svn

6dc3407

removing "typedef unsigned int word;" breaks a lot of my code.
The avr core Arduino.h has both:

Line 121:
typedef unsigned int word;

and

Line 238:
uint16_t makeWord(uint16_t w);
uint16_t makeWord(byte h, byte l);
#define word(...) makeWord(VA_ARGS)

if you have both you can do:
word w = word(1, 2);

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