Skip to content

Commit

Permalink
fixed another not always accepted syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
msmeissn committed Oct 19, 2024
1 parent be357ed commit 2ba162a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion camlibs/ptp2/library.c
Original file line number Diff line number Diff line change
Expand Up @@ -6978,8 +6978,9 @@ camera_wait_for_event (Camera *camera, int timeout,
}
case PTP_EC_Nikon_ObjectAddedInSDRAM: {
PTPObjectInfo oi;
uint32_t newobject;
downloadnow:
uint32_t newobject = event.Param1;
newobject = event.Param1;
if (!newobject) newobject = 0xffff0001;
ret = ptp_getobjectinfo (params, newobject, &oi);
if (ret != PTP_RC_OK)
Expand Down

0 comments on commit 2ba162a

Please sign in to comment.