Skip to content

Commit a1ee58d

Browse files
ironsheepclaude
andcommitted
Driver: use #error directive for dependency check, bump to {Spin2_v47}
Replace bare-symbol compile-error trick with proper #error directive. Bump version from {Spin2_v46} to {Spin2_v47} (#error requires v47+). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent f83ea92 commit a1ee58d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/micro_sd_fat32_fs.spin2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{Spin2_v46}
1+
{Spin2_v47}
22
'' =================================================================================================
33
''
44
'' File....... micro_sd_fat32_fs.spin2
@@ -126,7 +126,7 @@ CON ' command codes for worker cog
126126

127127
#ifdef SD_INCLUDE_SPEED
128128
#ifndef SD_INCLUDE_REGISTERS
129-
SD_INCLUDE_SPEED_REQUIRES_SD_INCLUDE_REGISTERS
129+
#error "SD_INCLUDE_SPEED requires SD_INCLUDE_REGISTERS"
130130
#endif
131131
CMD_ATTEMPT_HIGH_SPEED = 83 ' Attempt 50 MHz high-speed: returns data0=boolean
132132
CMD_CHECK_HS_CAPABILITY = 84 ' Check CMD6 high-speed support: returns data0=boolean

0 commit comments

Comments
 (0)