Various fixes

fixes by Willy-JL
nfc parser by zacharyweiss
js widget and path globals by jamisonderek
This commit is contained in:
MX
2024-04-05 01:25:03 +03:00
parent 45e7913435
commit ec4b8b8f5e
14 changed files with 2137 additions and 8 deletions

View File

@@ -612,7 +612,7 @@ void infrared_worker_set_raw_signal(
furi_check(timings);
furi_check(timings_cnt > 0);
furi_check((frequency <= INFRARED_MAX_FREQUENCY) && (frequency >= INFRARED_MIN_FREQUENCY));
furi_check((duty_cycle < 1.0f) && (duty_cycle > 0.0f));
furi_check((duty_cycle <= 1.0f) && (duty_cycle > 0.0f));
size_t max_copy_num = COUNT_OF(instance->signal.raw.timings) - 1;
furi_check(timings_cnt <= max_copy_num);