Skip to content

Commit

Permalink
Fix another reference to deviceId (this time in android code)
Browse files Browse the repository at this point in the history
  • Loading branch information
andreilitvin committed Jan 21, 2025
1 parent 9bb2c60 commit 0e19a9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/virtual-device-app/android/java/DeviceApp-JNI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ JNI_METHOD(void, postServerInit)(JNIEnv *, jobject app, jint deviceTypeId)
chip::DeviceLayer::StackLock lock;
ChipLogProgress(Zcl, "DeviceAppJNI::postServerInit");

gDeviceTypeIds[0].deviceId = static_cast<uint16_t>(deviceTypeId);
gDeviceTypeIds[0].deviceTypeId = static_cast<uint16_t>(deviceTypeId);
emberAfSetDeviceTypeList(1, Span<const EmberAfDeviceType>(gDeviceTypeIds));
}

Expand Down

0 comments on commit 0e19a9c

Please sign in to comment.