mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-23 03:03:10 +00:00
18 lines
410 B
C
18 lines
410 B
C
|
#pragma once
|
||
|
#include "flipper.h"
|
||
|
#include "flipper_v2.h"
|
||
|
#include "irda-decoder-nec.h"
|
||
|
#include "irda-decoder-types.h"
|
||
|
|
||
|
typedef struct {
|
||
|
IrDANecDecoder nec;
|
||
|
} IrDADecoder;
|
||
|
|
||
|
IrDADecoder* alloc_decoder(void);
|
||
|
void free_decoder(IrDADecoder* decoder);
|
||
|
bool process_decoder(
|
||
|
IrDADecoder* decoder,
|
||
|
bool start_polarity,
|
||
|
uint32_t* timings,
|
||
|
uint32_t timings_length,
|
||
|
IrDADecoderOutputData* out);
|