Skip to content

Commit 47400a7

Browse files
barbalexsclaude
andcommitted
Fix uncrustify formatting in spiflash storage driver
The lint job has been failing on main since the generic JEDEC fallback was merged (#457): two of its lines do not match uncrustify. Reformat them so `uncrustify --check` passes over src/ again. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent bf1059e commit 47400a7

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

src/silabs/spiflash_extension/spiflash/btl_storage_spiflash.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ static bool isPlausibleJedec(uint8_t mfgId, uint16_t deviceId) {
8787
// 0x11..0x19 -> 128 KiB .. 32 MiB, covering every realistic SPI-NOR on these modules
8888
return (densityCode >= 0x11) && (densityCode <= 0x19);
8989
}
90+
9091
#endif
9192

9293
// Match a JEDEC (manufacturer, device) id against the table of explicitly-supported

src/silabs/spiflash_extension/spiflash/btl_storage_spiflash_configs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@
162162
// Conservative full-part erase-time ceiling for the generic JEDEC fallback. Only
163163
// reported through getDeviceInfo(); erase completion is driven by the busy-status
164164
// poll, so an over-estimate here is harmless.
165-
#define TIMING_ERASE_GENERIC_MAX_MS (245760)
165+
#define TIMING_ERASE_GENERIC_MAX_MS (245760)
166166

167167
/** @endcond */
168168

0 commit comments

Comments
 (0)