Skip to content

Commit

Permalink
drivers/timers/pcf85263.c: Fix compilation
Browse files Browse the repository at this point in the history
Add the missing semicolons

Signed-off-by: Jukka Laitinen <[email protected]>
  • Loading branch information
Jukka Laitinen committed Sep 5, 2023
1 parent 2563e16 commit fd37a6b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/timers/pcf85263.c
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ int up_rtc_getdatetime(FAR struct tm *tp)
ret = I2C_TRANSFER(g_pcf85263.i2c, msg, 4);
if (ret < 0)
{
rtcerr("ERROR: I2C_TRANSFER failed: %d\n", ret)
rtcerr("ERROR: I2C_TRANSFER failed: %d\n", ret);
return ret;
}
}
Expand Down Expand Up @@ -400,7 +400,7 @@ int up_rtc_settime(FAR const struct timespec *tp)

if (localtime_r(&newtime, &newtm) == NULL)
{
rtcerr("ERROR: localtime_r failed\n")
rtcerr("ERROR: localtime_r failed\n");
return -EINVAL;
}

Expand Down Expand Up @@ -477,7 +477,7 @@ int up_rtc_settime(FAR const struct timespec *tp)
ret = I2C_TRANSFER(g_pcf85263.i2c, msg, 3);
if (ret < 0)
{
rtcerr("ERROR: I2C_TRANSFER failed: %d\n", ret)
rtcerr("ERROR: I2C_TRANSFER failed: %d\n", ret);
return ret;
}
}
Expand Down

0 comments on commit fd37a6b

Please sign in to comment.