rtl8852au icon indicating copy to clipboard operation
rtl8852au copied to clipboard

fix: fallthrough compile error

Open dgdgksj opened this issue 11 months ago • 1 comments

The original fallthrough macro definition caused a compile error due to its incompatible syntax in certain compiler versions.

image

This commit replaces the fallthrough macro definition with the attribute((fallthrough)) syntax, which is recognized by GCC and resolves the compilation issue.

This change ensures compatibility and prevents the "expected expression before ‘do’" error during the build process.

image

dgdgksj avatar Mar 21 '24 06:03 dgdgksj