Keil error: last line of file ends without a newline reasons and solutions

1. Reason

Because there is no carriage return after the "}" in the main function.

2. Solution

Just add the Enter key after the "}" in the main function to eliminate this warning message.

Guess you like

Origin blog.csdn.net/mahoon411/article/details/110790265