cleanup
This commit is contained in:
@ -4,19 +4,20 @@
|
||||
*/
|
||||
|
||||
#include "rcsignal.h"
|
||||
|
||||
#include "driver/gpio.h"
|
||||
#include "esp_timer.h"
|
||||
#include "esp_log.h"
|
||||
#include "freertos/FreeRTOS.h"
|
||||
#include "freertos/task.h"
|
||||
|
||||
#include <string.h>
|
||||
|
||||
static const char *TAG = "RCSIGNAL";
|
||||
|
||||
#define MAX_MODES 14
|
||||
#define MAX_MODES 14 //TODO: Get from config
|
||||
#define PULSE_THRESHOLD_US 1500
|
||||
#define SIGNAL_TIMEOUT_MS 100
|
||||
|
||||
static struct
|
||||
{
|
||||
int8_t gpio_pin;
|
||||
|
||||
Reference in New Issue
Block a user