Commit Graph

14 Commits

Author SHA1 Message Date
Peter Barker 6f9a948b9b AP_Hott_Telem: move definition of HAL_HOTT_TELEM_ENABLED to minimise include file 2022-11-08 20:23:58 +11:00
jackhong12 4a4f361a17 all: use CLASS_NO_COPY() macro 2022-10-04 11:23:04 +11:00
Peter Barker bcf03eb01d AP_Hott_Telem: add and use AP_RPM_ENABLED 2022-09-20 09:28:27 +10:00
murata 2d8a81986f AP_Hott_Telem: Console output can be disabled 2022-05-17 09:53:06 +10:00
Peter Barker b158e15ed4 AP_Hott_Telem: tidy includes 2022-05-03 09:14:58 +10:00
Josh Henderson 9355fcd6b3 AP_Hott_Telem: add define AP_AIRSPEED_ENABLED 2022-01-19 18:21:32 +11:00
Tatsuya Yamaguchi f249fe7eb2 AP_Hott_Telem: cope with BARO_MAX_INSTANCES = 1 2021-09-29 10:51:14 +10:00
Peter Barker f124cf0991 AP_Hott_Telem: use GPS single-char representation of fix type 2021-02-18 08:59:23 +11:00
Peter Barker 67e4756f19 AP_Hott_Telem: use new UARTDriver discard_input method 2020-05-26 09:20:32 +10:00
Andrew Tridgell f721fb1743 AP_Hott_Telem: fixed GPS display for mz-32
thanks to Ralf Helbing
2020-04-17 11:23:06 +10:00
Peter Barker b2ad4dabb8 AP_Hott_Telem: correct GPS fix character
https://discuss.ardupilot.org/t/bug-in-ap-hott-telem-cpp-copter-4-0-4dev/53939/2

Thanks to @fs007
2020-04-01 19:24:58 +11:00
Andrew Tridgell 0f83da7e16 AP_Hott_Telem: convert to new get_rpm() API 2020-03-12 08:36:40 +11:00
Peter Barker a1f0452940 AP_Hott_Telem: avoid 1-byte overwrite in prearm check string
In file included from /usr/include/string.h:494:0,
                 from ../../libraries/AP_HAL/AP_HAL_Namespace.h:3,
                 from ../../libraries/AP_HAL/AP_HAL.h:5,
                 from ../../libraries/AP_Hott_Telem/AP_Hott_Telem.h:17,
                 from ../../libraries/AP_Hott_Telem/AP_Hott_Telem.cpp:23:
In function ‘char* strncpy(char*, const char*, size_t)’,
    inlined from ‘void AP_Hott_Telem::send_Vario()’ at ../../libraries/AP_Hott_Telem/AP_Hott_Telem.cpp:366:20:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:71: warning: ‘char* __builtin___strncpy_chk(char*, const char*, long unsigned int, long unsigned int)’: specified bound 8 exceeds the size 7 of the destination [-Wstringop-overflow=]
   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
                                                                       ^
In function ‘char* strncpy(char*, const char*, size_t)’,
    inlined from ‘void AP_Hott_Telem::send_Vario()’ at ../../libraries/AP_Hott_Telem/AP_Hott_Telem.cpp:368:20:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:71: warning: ‘char* __builtin___strncpy_chk(char*, const char*, long unsigned int, long unsigned int)’: specified bound 8 exceeds the size 7 of the destination [-Wstringop-overflow=]
   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
2020-01-28 17:06:29 +11:00
Andrew Tridgell 143d069bca AP_Hott_Telem: added Hott telemetry implementation 2020-01-16 20:36:54 +11:00