Adjust formatting

This commit is contained in:
Georgii Surkov
2022-09-30 19:26:09 +03:00
parent 7a75df83b4
commit 601e8cbd48
2 changed files with 17 additions and 13 deletions

View File

@@ -122,11 +122,7 @@ bool flipper_format_stream_seek_to_key(Stream* stream, const char* key, bool str
}
static bool flipper_format_stream_read_value(Stream* stream, string_t value, bool* last) {
enum {
LeadingSpace,
ReadValue,
TrailingSpace
} state = LeadingSpace;
enum { LeadingSpace, ReadValue, TrailingSpace } state = LeadingSpace;
const size_t buffer_size = 32;
uint8_t buffer[buffer_size];
bool result = false;