Skip to content
This repository has been archived by the owner on Dec 18, 2018. It is now read-only.

Commit

Permalink
Fix for return value of get_fattime
Browse files Browse the repository at this point in the history
  • Loading branch information
mashua committed Jul 20, 2016
1 parent 41c2375 commit 41f7a6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cubeMX/obc/Src/fatfs.c
Expand Up @@ -66,7 +66,7 @@ DWORD get_fattime(void)
((tmp.month) << 21) | \ ((tmp.month) << 21) | \
((tmp.day) << 16) | \ ((tmp.day) << 16) | \
((tmp.hour) << 11) | \ ((tmp.hour) << 11) | \
((tmp.hour) << 5) | \ ((tmp.min) << 5) | \
((tmp.sec) >> 1)); ((tmp.sec) >> 1));


/* USER CODE END get_fattime */ /* USER CODE END get_fattime */
Expand Down

0 comments on commit 41f7a6f

Please sign in to comment.