add comment
This commit is contained in:
parent
6d69649080
commit
142cf19b21
|
@ -51,6 +51,14 @@ static void printUid() {
|
|||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
* I was a little bit surprised that we declare __attribute__((weak)) before returning type in a function definition.
|
||||
* In the most sources this declaration is placed either before function name or after function parentheses, see:
|
||||
* - https://gcc.gnu.org/onlinedocs/gcc-4.0.0/gcc/Function-Attributes.html#Function-Attributes
|
||||
* - https://en.wikipedia.org/wiki/Weak_symbol
|
||||
* But it looks like our manner of __attribute__((weak)) declaration works at well, and I hope it will not cause
|
||||
* problems in the future.
|
||||
*/
|
||||
BOARD_WEAK void boardSayHello() {
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue