mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2025-12-13 05:06:30 +04:00
Fix protoview patable adding in custom modulations
This commit is contained in:
@@ -48,6 +48,8 @@ bool save_signal(ProtoViewApp* app, const char* filename) {
|
|||||||
for(int j = 0; regs[j]; j += 2) {
|
for(int j = 0; regs[j]; j += 2) {
|
||||||
furi_string_cat_printf(custom, "%02X %02X ", (int)regs[j], (int)regs[j + 1]);
|
furi_string_cat_printf(custom, "%02X %02X ", (int)regs[j], (int)regs[j + 1]);
|
||||||
}
|
}
|
||||||
|
// Add patable
|
||||||
|
furi_string_cat(custom, "00 00 C0 00 00 00 00 00 00 00 ");
|
||||||
//size_t len = furi_string_size(file_content);
|
//size_t len = furi_string_size(file_content);
|
||||||
//furi_string_set_char(custom, len - 1, '\n');
|
//furi_string_set_char(custom, len - 1, '\n');
|
||||||
furi_string_cat(custom, "\n");
|
furi_string_cat(custom, "\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user