Skip to content

Commit

Permalink
[nrf noup] [zephyr] Fix CHIPDevicePlatformEvent.h include dependencies
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 fixed in the application when the
<platform/PlatformManager.h> include is preceded by other
headers that pull in SystemPacketBuffer.h.

Signed-off-by: Marcin Kajor <marcin.kajor@nordicsemi.no>
  • Loading branch information
markaj-nordic committed Jan 11, 2024
1 parent 4997cd7 commit e13071a
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 e13071a

Please sign in to comment.