mirror of
https://github.com/esphome/esphome.git
synced 2026-05-26 11:17:00 +08:00
[api] Add 48-bit MAC address varint fast path for BLE advertisements (#15988)
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
from tests.testing_helpers import ComponentManifestOverride
|
||||
|
||||
|
||||
def override_manifest(manifest: ComponentManifestOverride) -> None:
|
||||
# json's to_code calls cg.add_library("bblanchon/ArduinoJson", ...). C++
|
||||
# unit test builds that pull json in transitively (e.g. api) need that
|
||||
# library registration to happen, otherwise json_util.cpp fails to find
|
||||
# ArduinoJson.h.
|
||||
manifest.enable_codegen()
|
||||
Reference in New Issue
Block a user