Add missing LEDs CSR ifdef

This commit is contained in:
Aadi Desai 2023-05-24 12:36:34 +01:00
parent bb94e58a53
commit a6168e85e8
No known key found for this signature in database

View file

@ -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