Use cmd_width_t as uint8_t typedef

This commit is contained in:
C47D 2021-11-26 08:51:01 -06:00
parent 016517b163
commit aca821230e

View file

@ -15,11 +15,13 @@ extern "C"
#include <stdint.h> #include <stdint.h>
#include <stdbool.h> #include <stdbool.h>
typedef enum { enum {
CMD_WIDTH_8BITS, CMD_WIDTH_8BITS,
CMD_WIDTH_16BITS, CMD_WIDTH_16BITS,
CMD_WIDTH_INVALID, CMD_WIDTH_INVALID,
} cmd_width_t; };
typedef uint8_t cmd_width_t;
/** /**
* Busy wait delay port * Busy wait delay port