1
0
mirror of https://github.com/esphome/esphome.git synced 2025-11-19 16:25:50 +00:00

[nrf52,ssd1306_i2c] fix build error (#11847)

This commit is contained in:
tomaszduda23
2025-11-11 19:18:17 +01:00
committed by GitHub
parent a6b905e148
commit 661920c51e
2 changed files with 11 additions and 0 deletions

View File

@@ -6,3 +6,7 @@
#ifdef USE_ARDUINO #ifdef USE_ARDUINO
#include <Arduino.h> #include <Arduino.h>
#endif #endif
#ifdef USE_ZEPHYR
#define M_PI 3.14159265358979323846
#endif

View File

@@ -0,0 +1,7 @@
substitutions:
reset_pin: P0.10
packages:
i2c: !include ../../test_build_components/common/i2c/nrf52.yaml
<<: !include common.yaml