Better fallthrough annotation macro.
This commit is contained in:
@@ -242,9 +242,7 @@ ad1848_write(uint16_t addr, uint8_t val, void *priv)
|
||||
case 10:
|
||||
if (ad1848->type < AD1848_TYPE_CS4235)
|
||||
break;
|
||||
#ifdef FALLTHROUGH_ANNOTATION
|
||||
[[fallthrough]];
|
||||
#endif
|
||||
fallthrough;
|
||||
|
||||
case 8:
|
||||
updatefreq = 1;
|
||||
|
||||
Reference in New Issue
Block a user