summaryrefslogtreecommitdiff
path: root/app/include/zmk/behavior.h
diff options
context:
space:
mode:
authorinnovaker <66737976+innovaker@users.noreply.github.com>2020-12-02 16:41:57 +0000
committerPete Johanson <peter@peterjohanson.com>2020-12-14 12:41:25 -0500
commitbac1f17cf6ce225876dc7b6b2a809bcd98010391 (patch)
tree9783743b31fdadd66d1b3c9e5a3e14dc661ec313 /app/include/zmk/behavior.h
parenta4652fa25da83ae036613157fb566eb1ce1426fe (diff)
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
Diffstat (limited to 'app/include/zmk/behavior.h')
-rw-r--r--app/include/zmk/behavior.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/include/zmk/behavior.h b/app/include/zmk/behavior.h
index 428ae24..f00ea4f 100644
--- a/app/include/zmk/behavior.h
+++ b/app/include/zmk/behavior.h
@@ -8,12 +8,12 @@
struct zmk_behavior_binding {
char *behavior_dev;
- u32_t param1;
- u32_t param2;
+ uint32_t param1;
+ uint32_t param2;
};
struct zmk_behavior_binding_event {
int layer;
- u32_t position;
- s64_t timestamp;
+ uint32_t position;
+ int64_t timestamp;
}; \ No newline at end of file