From fa3dd373b4925734d9843ae6014349069ffec353 Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Sun, 26 Jun 2022 23:58:31 +0100 Subject: [PATCH] Fix error message in generated code (#17484) --- lib/python/qmk/cli/generate/keyboard_h.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/python/qmk/cli/generate/keyboard_h.py b/lib/python/qmk/cli/generate/keyboard_h.py index 2058865cbf..54ddb4cffd 100755 --- a/lib/python/qmk/cli/generate/keyboard_h.py +++ b/lib/python/qmk/cli/generate/keyboard_h.py @@ -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(".h is only optional for data driven keyboards - kb.h == bad times")') + keyboard_h_lines.append('#error(".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)