Skip to content

Commit

Permalink
[iec][fuji] get_directory_position oops.
Browse files Browse the repository at this point in the history
  • Loading branch information
tschak909 committed Jul 1, 2023
1 parent d1cee96 commit dca7c61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/device/iec/fuji.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -989,7 +989,7 @@ void iecFuji::get_directory_position()
// Return the value we read

if (payload[0] == FUJICMD_GET_DIRECTORY_POSITION)
response_queue.push(std::string((const char *)&pos, sizeof(pos)));
response = std::string((const char *)&pos, sizeof(pos));
else
{
char reply[8];
Expand Down

0 comments on commit dca7c61

Please sign in to comment.