43#define THERMAL_CTL_NONE 0
44#define THERMAL_CTL_PWR_OFF 1
45#define THERMAL_CTL_REC_ON 2
46#define THERMAL_CTL_REC_OFF 3
89 uint8_t kind = value > 0 ?
'h':
'c';
100 if (nb != 8) {
return; }
106 memcpy(data,
b, 8*
sizeof(
float));
111 .lat = data[4] * 1
e7,
112 .lon = data[5] * 1
e7,
127 if (
hp->cluster_idx ==
spot->cluster_idx) {
Common code for AP and FBW telemetry.
void thermal_ctl_thermal_ctl_handler(float value)
static void update_hottests(struct thermal_spot *spot)
void thermal_clusters_cb(uint8_t *buf)
void thermal_ctl_thermal_threshold_handler(float value)
static void thermal_send_draw(struct thermal_spot *spot)
#define THERMAL_CTL_REC_OFF
struct thermal_spot hottest_spots[3]
#define THERMAL_CTL_REC_ON
#define THERMAL_CTL_PWR_OFF
void thermal_cluster_periodic()
int int32_t
Typedef defining 32 bit int type.
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.