Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion module/camera/src/camera.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -754,7 +754,7 @@ int Device::readFrame()
buf.memory = V4L2_MEMORY_MMAP;
if (xioctl(m_fd, VIDIOC_DQBUF, &buf) == -1)
{
printf("DQBUF Error: $d\n", errno);
printf("DQBUF Error: %d\n", errno);
switch (errno)
{
case EAGAIN:
Expand Down
4 changes: 2 additions & 2 deletions module/tello/src/tello.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@ int wpa_cmd(char const *cmd, char *buf)

printf("wpa_cmd: %s\n", cmd);
cmd_len = (size_t)strlen(cmd);
printf("cmd_len %d\n", cmd_len);
printf("cmd_len %zu\n", cmd_len);
len = BUFSIZE;
result = wpa_ctrl_request(ctrl_conn,
cmd,
cmd_len,
buf,
&len,
wpa_cli_msg_cb);
printf("len %d\n", len);
printf("len %zu\n", len);
buf[len] = '\0';
printf("%s\n", buf);

Expand Down