[FL-1472, FL-1596, FL-1673] IRDA: stability improvements (#655)
- Restrict with 31 bytes length for remote and signal name - Don't stuck for 0 PWM cycle timings - Support timings > 65535 PWM cycles - Fix remote file open error - Add IRDA TX debug redirect - Add remote parse error print, improve parsing, support tabs - Fix stucks with uncorrect RAW signal values, long strings in remote file, etc - Fix HAL signals capturing (save previous read value) - Fix leak in case of failed parsing
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#include "file-worker.h"
|
||||
#include "m-string.h"
|
||||
#include <m-string.h>
|
||||
#include <lib/toolbox/hex.h>
|
||||
#include <dialogs/dialogs.h>
|
||||
#include <furi.h>
|
||||
@@ -350,7 +350,7 @@ bool file_worker_read_until_buffered(
|
||||
}
|
||||
}
|
||||
|
||||
if(max_length_exceeded) string_clear(str_result);
|
||||
if(max_length_exceeded) string_clean(str_result);
|
||||
|
||||
return string_size(str_result) || *file_buf_cnt;
|
||||
}
|
||||
|
Reference in New Issue
Block a user