diff options
author | David Phillips <david@yeah.nah.nz> | 2020-12-13 16:35:58 +1300 |
---|---|---|
committer | David Phillips <david@yeah.nah.nz> | 2020-12-13 20:42:33 +1300 |
commit | 7e26f31e221665ee059b02fc6beda025d39d6e75 (patch) | |
tree | 1a5f66e12680778b001f3cb1d2c49b0f2ce0f04c /util.h | |
download | altimeter-7e26f31e221665ee059b02fc6beda025d39d6e75.tar.xz |
Initial prototype
This patch adds a skeleton of AVR code for a "simulator" target (atmega2560)
and for the real intended hardware target (atmega32u4). The simulator target
is one that is supported by the QEMU AVR emulator, while the 32u4 is currently
not.
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -0,0 +1,7 @@ +#pragma once + +#include <stddef.h> + +float pressure_to_metres_asl(float real, float setting); +void blank_to_eol(char *line, size_t len); +void split_float(float input, int *integer_part, float *float_part); |