编译错误解决
1…\HARDWARE\LED\led.h(24): warning: #1-D: last line of file ends without a newline
解答:
If this warning bothers you, make sure your last line is an empty line without any blank spaces. For example
function a (…)
{
….
}
hit enter at the last brace, and delete all the blank space in the last line. So there is only an end of line at the last line
就是说最后一行按个enter键,使24后面多个25即可。