Skip to content

Commit

Permalink
[zephyr] Fix CHIPDevicePlatformEvent.h include dependency (#33004)
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
kkasperczyk-no authored Apr 16, 2024
1 parent d8245cb commit fdcf07a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform/Zephyr/CHIPDevicePlatformEvent.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

#pragma once

#include <platform/CHIPDeviceEvent.h>
#include <system/SystemPacketBuffer.h>

#include <zephyr/bluetooth/bluetooth.h>

Expand Down

0 comments on commit fdcf07a

Please sign in to comment.