From 8d7f1a4859af21388f1181581144331339f05d34 Mon Sep 17 00:00:00 2001 From: Ben Hall Date: Fri, 22 Dec 2023 23:17:42 -0500 Subject: [PATCH] yo --- generator/pio_lib_gen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generator/pio_lib_gen.py b/generator/pio_lib_gen.py index d57c378..449ab86 100644 --- a/generator/pio_lib_gen.py +++ b/generator/pio_lib_gen.py @@ -25,7 +25,7 @@ user_dbc_files = env.subst(env.GetProjectOption("user_dbcs", "")) dbc_files = fs.match_src_files(project_dir, user_dbc_files) -if not len(protos_files): +if not len(dbc_files): print("[nanopb] ERROR: No files matched pattern:") print(f"user_dbcs: {user_dbc_files}") exit(1)