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.
This commit is contained in:
Ricardo Quesada 2024-01-10 02:46:20 -08:00 committed by GitHub
parent afbd946d92
commit d48e511ecb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.