From e208232d65a91882c82192501ca63acaaee03bd6 Mon Sep 17 00:00:00 2001 From: Chris Taylor Date: Fri, 17 May 2024 12:59:53 -0700 Subject: [PATCH] make debug_prints configurable --- dbc-codegen-cli/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbc-codegen-cli/src/main.rs b/dbc-codegen-cli/src/main.rs index 88036d3..02d05df 100644 --- a/dbc-codegen-cli/src/main.rs +++ b/dbc-codegen-cli/src/main.rs @@ -51,7 +51,7 @@ fn main() { let config = Config::builder() .dbc_name(&dbc_file_name) .dbc_content(&dbc_file) - .debug_prints(true) + .debug_prints(args.debug) .build(); dbc_codegen::codegen(config, &mut messages_code).unwrap_or_else(|e| {