Appease the gods of formatting.

This commit is contained in:
Nick Brassel 2025-01-24 09:26:14 +11:00
commit 1c4c6ae280
No known key found for this signature in database
2 changed files with 3 additions and 1 deletions

View file

@ -45,7 +45,7 @@ def _render_keycodes(module_jsons):
lines.append(f' {key},')
lines.append(' LAST_COMMUNITY_MODULE_KEY')
lines.append('};')
lines.append('_Static_assert(LAST_COMMUNITY_MODULE_KEY <= QK_COMMUNITY_MODULE_MAX, "Too many community module keycodes");')
lines.append('_Static_assert((int)LAST_COMMUNITY_MODULE_KEY <= (int)(QK_COMMUNITY_MODULE_MAX+1), "Too many community module keycodes");')
return lines