new file: firmware/main/include/controller.h

deleted:    firmware/main/include/http_client.h
	modified:   firmware/main/include/leds.h
	renamed:    firmware/main/src/http_client.c -> firmware/main/src/controller.c
	modified:   firmware/main/src/leds.c
	modified:   firmware/main/src/main.c
	modified:   firmware/main/src/sht31.c
Restructured
This commit is contained in:
Sven Luthi committed 2024-08-12 15:15:33 +02:00
1 parent 5b58ad5e41
commit e3d4023d35
7 files changed
+32 -43

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
#ifndef CONTROLLER_H
#define CONTROLLER_H
#include <freertos/FreeRTOS.h>
#ifdef __cplusplus
extern "C" {
#endif
esp_err_t controller_init();
#ifdef __cplusplus
}
#endif
#endif
-22
View File
@@ -1,22 +0,0 @@
#ifndef HTTP_CLIENT_H
#define HTTP_CLIENT_H
#ifdef __cplusplus
extern "C" {
#endif
struct hc_dev_config {
};
void hc_test(void);
bool hc_check_updates();
bool hc_register();
struct hc_dev_config hc_get_dev_conf();
bool hc_send_sensor_data(unsigned id, float humidity, float temperature);
#ifdef __cplusplus
}
#endif
#endif
+1 -1
View File
@@ -6,7 +6,7 @@ extern "C" {
#endif
void led_blink_task(void *pvParameter);
unsigned initLEDs();
unsigned led_init();
void led1_on();
void led2_on();
void led1_off();