Permalink
Browse files

Fix for return value of get_fattime

  • Loading branch information...
1 parent 41c2375 commit 41f7a6f3ed3684395c5cf0955dc4efb781ce113c @mashua mashua committed Jul 20, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 cubeMX/obc/Src/fatfs.c
@@ -66,7 +66,7 @@ DWORD get_fattime(void)
((tmp.month) << 21) | \
((tmp.day) << 16) | \
((tmp.hour) << 11) | \
- ((tmp.hour) << 5) | \
+ ((tmp.min) << 5) | \
((tmp.sec) >> 1));
/* USER CODE END get_fattime */

0 comments on commit 41f7a6f

Please sign in to comment.