@@ -77,7 +77,7 @@ static bool subrem_map_preset_load(SubRemMapPreset* map_preset, FlipperFormat* f
77
77
sub_preset = map_preset -> subs_preset [i ];
78
78
if (!flipper_format_read_string (
79
79
fff_data_file , map_file_labels [i ][0 ], sub_preset -> file_path )) {
80
- #if FURI_DEBUG
80
+ #ifdef FURI_DEBUG
81
81
FURI_LOG_W (TAG , "No file patch for %s" , map_file_labels [i ][0 ]);
82
82
#endif
83
83
sub_preset -> type = SubGhzProtocolTypeUnknown ;
@@ -88,7 +88,7 @@ static bool subrem_map_preset_load(SubRemMapPreset* map_preset, FlipperFormat* f
88
88
// Rewind error
89
89
} else if (!flipper_format_read_string (
90
90
fff_data_file , map_file_labels [i ][1 ], sub_preset -> label )) {
91
- #if FURI_DEBUG
91
+ #ifdef FURI_DEBUG
92
92
FURI_LOG_W (TAG , "No Label for %s" , map_file_labels [i ][0 ]);
93
93
#endif
94
94
ret = true;
@@ -114,13 +114,13 @@ static bool subrem_map_preset_load(SubRemMapPreset* map_preset, FlipperFormat* f
114
114
SubRemLoadMapState subrem_map_file_load (SubGhzRemoteApp * app , const char * file_path ) {
115
115
furi_assert (app );
116
116
furi_assert (file_path );
117
- #if FURI_DEBUG
117
+ #ifdef FURI_DEBUG
118
118
FURI_LOG_I (TAG , "Load Map File Start" );
119
119
#endif
120
120
Storage * storage = furi_record_open (RECORD_STORAGE );
121
121
FlipperFormat * fff_data_file = flipper_format_file_alloc (storage );
122
122
SubRemLoadMapState ret = SubRemLoadMapStateErrorOpenError ;
123
- #if FURI_DEBUG
123
+ #ifdef FURI_DEBUG
124
124
FURI_LOG_I (TAG , "Open Map File.." );
125
125
#endif
126
126
subrem_map_preset_reset (app -> map_preset );
0 commit comments