diff options
| author | Christoph Berg <myon@debian.org> | 2026-10-09 14:12:35 +0200 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2026-10-09 14:12:35 +0200 |
| commit | ffc62c792c9a5196cb4ce7a353287dfe20db6524 (patch) | |
| tree | 1269efa852935b183daae4bb33a58d1b4d2ffb53 /map65/libm65/ptt.h | |
| parent | 059831534c7e884f0a607ed86b582fd00d821731 (diff) | |
New upstream version 3.3.0~beta1+dfsgupstream/3.3.0_beta1+dfsg
Diffstat (limited to 'map65/libm65/ptt.h')
| -rw-r--r-- | map65/libm65/ptt.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/map65/libm65/ptt.h b/map65/libm65/ptt.h new file mode 100644 index 00000000..150c1545 --- /dev/null +++ b/map65/libm65/ptt.h @@ -0,0 +1,19 @@ +#ifndef MAP65_PTT_H +#define MAP65_PTT_H + +#ifdef __cplusplus +extern "C" { +#endif + +/* Device loss resets logical PTT but does not confirm physical release. */ +enum { PTT_OK = 0, PTT_ERROR = 1, PTT_DEVICE_LOST = 2 }; + +int ptt_(int *nport, int *ntx, int *iptt); +void ptt_close(void); +void ptt_set_override(const char *path); + +#ifdef __cplusplus +} +#endif + +#endif |
