Fix some stylistic issues found by tools/nxstyle

This commit is contained in:
Gregory Nutt 2015-11-17 17:35:17 -06:00
parent 8d963e66cf
commit a654f35d98

View File

@ -344,7 +344,7 @@ int up_rtc_getdatetime(FAR struct tm *tp)
#if defined(CONFIG_LIBC_LOCALTIME) || defined(CONFIG_TIME_EXTENDED)
/* Return the day of the week (0-6) */
tp->tm_wday = (rtc_bcd2bin(buffer[3]) & DS3231_TIME_DAY_MASK)- 1;
tp->tm_wday = (rtc_bcd2bin(buffer[3]) & DS3231_TIME_DAY_MASK) - 1;
#endif
/* Return the day of the month (1-31) */
@ -505,8 +505,8 @@ int up_rtc_settime(FAR const struct timespec *tp)
/* Perform the transfer (This could be done with I2C_READ). This transfer
* will be repeated if the seconds count rolls over to a smaller value
* while writing.
*/
* while writing.
*/
do
{