cancel
Showing results for 
Search instead for 
Did you mean: 

Have error when code with STM32F4 Discovery

trungkiena6
Associate
Posted on February 28, 2013 at 11:39

Sorry about my ques, but i have a problem with error:

..\main.c(24): warning:  #1-D: last line of file ends without a newline

Please help me.

Thank
1 REPLY 1
Posted on February 28, 2013 at 12:29

It's a warning not an error, so the file compiled fine. Just means EOF occured at the end of a line, as the line just stopped without a <CR><LF>, go to the end of the last line in the file, hit ENTER/RETURN, save and the warning will go away.

Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..