[FL-1398] IRDA: Implement timings encoder, add RC-6 (#570)
* Add RC-6 protocol * Implement timings Encoder * Remove Unit-tests from build
This commit is contained in:
@@ -28,12 +28,12 @@ static void api_hal_irda_handle_capture(TimerIRQSource source)
|
||||
case TimerIRQSourceCCI1:
|
||||
duration = LL_TIM_OC_GetCompareCH1(TIM2);
|
||||
LL_TIM_SetCounter(TIM2, 0);
|
||||
level = 1;
|
||||
level = 0;
|
||||
break;
|
||||
case TimerIRQSourceCCI2:
|
||||
duration = LL_TIM_OC_GetCompareCH2(TIM2);
|
||||
LL_TIM_SetCounter(TIM2, 0);
|
||||
level = 0;
|
||||
level = 1;
|
||||
break;
|
||||
default:
|
||||
furi_check(0);
|
||||
|
Reference in New Issue
Block a user