diff options
author | xengineering <me@xengineering.eu> | 2025-03-23 17:53:24 +0100 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2025-03-26 21:18:17 +0100 |
commit | b073db4017008ceb638a9c23c8cc93e60a3a7fdb (patch) | |
tree | 3359897450d1a0d187eb1fc2c47f36a6475691fd /fw/app/src/heart.h | |
parent | 6ebbc6cd9876744c09547bcb4ce2c39a89ce0f6c (diff) | |
download | iot-contact-b073db4017008ceb638a9c23c8cc93e60a3a7fdb.tar iot-contact-b073db4017008ceb638a9c23c8cc93e60a3a7fdb.tar.zst iot-contact-b073db4017008ceb638a9c23c8cc93e60a3a7fdb.zip |
fw: app: Move application firmware code here
This makes the structure of the `fw` folder more clear and separates
application-related code from bootloader- or rtos-related code.
Diffstat (limited to 'fw/app/src/heart.h')
-rw-r--r-- | fw/app/src/heart.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/fw/app/src/heart.h b/fw/app/src/heart.h new file mode 100644 index 0000000..cd32c15 --- /dev/null +++ b/fw/app/src/heart.h @@ -0,0 +1,20 @@ +/* + * This Source Code Form is subject to the terms of the Mozilla Public License, + * v. 2.0. If a copy of the MPL was not distributed with this file, You can + * obtain one at https://mozilla.org/MPL/2.0/. + */ + +#ifndef SRC_HEART_H +#define SRC_HEART_H + + +#include <zephyr/zbus/zbus.h> + + +struct heartbeat { + uint32_t ttl_ms; +}; + +ZBUS_CHAN_DECLARE(heartbeat_channel); + +#endif // !SRC_HEART_H |