From d48e511ecb3f1f4bc4d6ac79ddb53d0d5cff7e16 Mon Sep 17 00:00:00 2001 From: Ricardo Quesada Date: Wed, 10 Jan 2024 02:46:20 -0800 Subject: [PATCH] compile_gatt.py: add clang-format off to header (#553) Add clang-format off to header. Useful when the auto-generated headers are checked-in a repo with clang-format enabled. --- tool/compile_gatt.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tool/compile_gatt.py b/tool/compile_gatt.py index e8c9fdbf7..8cabf5fe8 100755 --- a/tool/compile_gatt.py +++ b/tool/compile_gatt.py @@ -38,6 +38,7 @@ except ImportError: print("[!] Please install PyCryptodome, e.g. 'pip3 install pycryptodomex' or 'pip3 install pycryptodome'\n") header = ''' +// clang-format off // {0} generated from {1} for BTstack // it needs to be regenerated when the .gatt file is updated.