Skip to content

Commit fa5d939

Browse files
[zephyr] Fix CHIPDevicePlatformEvent.h include dependency
Currently the CHIPDevicePlatformEvent depends on the SystemPacketBuffer which is included in the CHIPDeviceEvent.h too late. The problem is silently worked around in the application when the <platform/PlatformManager.h> include is preceded by other headers that pull in SystemPacketBuffer.h, but we need a proper fix. Signed-off-by: Marcin Kajor <marcin.kajor@nordicsemi.no>
1 parent 3c7c9b1 commit fa5d939

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/platform/Zephyr/CHIPDevicePlatformEvent.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
#pragma once
2525

26-
#include <platform/CHIPDeviceEvent.h>
26+
#include <system/SystemPacketBuffer.h>
2727

2828
#include <zephyr/bluetooth/bluetooth.h>
2929

0 commit comments

Comments
 (0)