mirror of
https://github.com/supleed2/EIE4-FYP.git
synced 2024-09-19 13:26:18 +00:00
Add missing LEDs CSR ifdef
This commit is contained in:
parent
bb94e58a53
commit
a6168e85e8
|
@ -1,6 +1,7 @@
|
|||
#include <generated/csr.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#ifdef CSR_LEDS_BASE
|
||||
void led(void) {
|
||||
int i;
|
||||
int j;
|
||||
|
@ -38,3 +39,4 @@ void led(void) {
|
|||
printf("Clearing led...\n");
|
||||
leds_out_write(0);
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue