forked from kofal.net/zmk
refactor(app): replace Zephyr integer types with C99 integer types
u8_t → uint8_t u16_t → uint16_t u32_t → uint32_t u64_t → uint64_t s8_t → int8_t s16_t → int16_t s32_t → int32_t s64_t → int64_t Prerequisite for #223 See: https://github.com/zephyrproject-rtos/zephyr/releases/tag/zephyr-v2.4.0 PR: #467
This commit is contained in:
@@ -9,14 +9,14 @@
|
||||
#include <zephyr.h>
|
||||
#include <dt-bindings/zmk/keys.h>
|
||||
|
||||
typedef u32_t zmk_key;
|
||||
typedef u8_t zmk_action;
|
||||
typedef u8_t zmk_mod;
|
||||
typedef u8_t zmk_mod_flags;
|
||||
typedef uint32_t zmk_key;
|
||||
typedef uint8_t zmk_action;
|
||||
typedef uint8_t zmk_mod;
|
||||
typedef uint8_t zmk_mod_flags;
|
||||
|
||||
struct zmk_key_event {
|
||||
u32_t column;
|
||||
u32_t row;
|
||||
uint32_t column;
|
||||
uint32_t row;
|
||||
zmk_key key;
|
||||
bool pressed;
|
||||
};
|
||||
Reference in New Issue
Block a user