mirror of https://github.com/ARMmbed/mbed-os.git
LED test completion notification changed. Now if board do not have LED4, target will only blink LED1 to indicate test success. If test fails LED1 will not blink. This behaviour will be changed in the future. Now it is mainly removing compilation error (LED4 not defined).
parent
37e1b85540
commit
c74365cb83
|
@ -19,5 +19,9 @@ void notify_completion(bool success) {
|
|||
}
|
||||
|
||||
printf("{{end}}" NL);
|
||||
led_blink(success?LED1:LED4);
|
||||
#ifdef LED4
|
||||
led_blink(success ? LED1 : LED4);
|
||||
#else
|
||||
led_blink(success ? LED1 : NC);
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue