Skip to content

Commit

Permalink
Fix error message in generated code (#17484)
Browse files Browse the repository at this point in the history
  • Loading branch information
zvecr authored Jun 26, 2022
1 parent 410686d commit fa3dd37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/python/qmk/cli/generate/keyboard_h.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def generate_keyboard_h(cli):
keyboard_h_lines = [GPL2_HEADER_C_LIKE, GENERATED_HEADER_C_LIKE, '#pragma once', '#include "quantum.h"']

if not has_layout_h:
keyboard_h_lines.append('#pragma error("<keyboard>.h is only optional for data driven keyboards - kb.h == bad times")')
keyboard_h_lines.append('#error("<keyboard>.h is only optional for data driven keyboards - kb.h == bad times")')

# Show the results
dump_lines(cli.args.output, keyboard_h_lines, cli.args.quiet)

0 comments on commit fa3dd37

Please sign in to comment.