Add sandbox_c cmake project + ccache workflow for pool testing
Build RPi image / build (push) Successful in 10s
Sandbox - ephemeral runner + shared cache / cargo (push) Successful in 1m27s
Sandbox - cmake + ccache on the pool / build (push) Successful in 10s

This commit is contained in:
druppy committed 2026-10-24 22:54:55 +02:00
1 parent fb253f9b27
commit ba41deb9ec
9 files changed
+160

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
#ifndef TEMPSENSE_H
#define TEMPSENSE_H
#include <stddef.h>
typedef struct { char sensor[32]; double celsius; } Reading;
double to_fahrenheit(double celsius);
int parse_reading(const char *json, Reading *out); /* 0 on success */
int format_reading(const Reading *in, char *buf, size_t len);
double clamp_to_absolute_zero(double celsius);
#endif