update certificate authority determination - release

This commit is contained in:
Sebastien
2020-05-19 15:08:22 -04:00
parent 1a2de11e92
commit 6eee8cecd8
18 changed files with 323 additions and 506 deletions

View File

@@ -39,7 +39,7 @@ static const char* TAG = "IR";
/****************************************************************************************
*
*/
inline bool nec_check_in_range(int duration_ticks, int target_us, int margin_us) {
static bool nec_check_in_range(int duration_ticks, int target_us, int margin_us) {
if(( NEC_ITEM_DURATION(duration_ticks) < (target_us + margin_us))
&& ( NEC_ITEM_DURATION(duration_ticks) > (target_us - margin_us))) {
return true;
@@ -174,4 +174,4 @@ void infrared_init(RingbufHandle_t *rb, int gpio) {
// get RMT RX ringbuffer
rmt_get_ringbuf_handle(RMT_RX_CHANNEL, rb);
rmt_rx_start(RMT_RX_CHANNEL, 1);
}
}