Skip to content

Commit 100a967

Browse files
committed
Add endpoint marker to print
1 parent 83d5b79 commit 100a967

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/valve-app/linux/main.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,15 @@ class PrintOnlyDelegate : public NonLevelControlDelegate
3434
PrintOnlyDelegate(EndpointId endpoint) : mEndpoint(endpoint) {}
3535
CHIP_ERROR HandleOpenValve(ValveStateEnum & currentState, BitMask<ValveFaultBitmap> & valveFault) override
3636
{
37-
ChipLogProgress(NotSpecified, "VALVE IS OPENING!!!!!");
37+
ChipLogProgress(NotSpecified, "VALVE IS OPENING on endpoint %u!!!!!", mEndpoint);
3838
state = ValveStateEnum::kOpen;
3939
currentState = state;
4040
return CHIP_NO_ERROR;
4141
}
4242
ValveStateEnum GetCurrentValveState() override { return state; }
4343
CHIP_ERROR HandleCloseValve(ValveStateEnum & currentState, BitMask<ValveFaultBitmap> & valveFault) override
4444
{
45-
ChipLogProgress(NotSpecified, "VALVE IS CLOSING!!!!!");
45+
ChipLogProgress(NotSpecified, "VALVE IS CLOSING on endpoint %u!!!!!", mEndpoint);
4646
state = ValveStateEnum::kClosed;
4747
currentState = state;
4848
return CHIP_NO_ERROR;

0 commit comments

Comments
 (0)