Skip to content

Commit 32d9b7f

Browse files
committed
move AttemptToGetTimeFromTrustedNode out of TIME_SYNC_ENABLE_TSC_FEATURE since it is called out of TIME_SYNC_ENABLE_TSC_FEATURE blocks
1 parent 47fee48 commit 32d9b7f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/app/clusters/time-synchronization-server/time-synchronization-server.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,10 @@ class TimeSynchronizationServer : public FabricTable::Delegate
124124
void OnAttributeData(const ConcreteDataAttributePath & aPath, TLV::TLVReader * apData, const StatusIB & aStatus) override;
125125
void OnDone(ReadClient * apReadClient) override;
126126

127-
CHIP_ERROR AttemptToGetTimeFromTrustedNode();
128127
#endif
129128

129+
CHIP_ERROR AttemptToGetTimeFromTrustedNode();
130+
130131
// Platform event handler functions
131132
void OnPlatformEventFn(const DeviceLayer::ChipDeviceEvent & event);
132133

0 commit comments

Comments
 (0)