dsp: non-functional code. needs funcall refactor in cc
This commit is contained in:
parent
b70cdd13c4
commit
f7b7118278
12
dsp/main.c
12
dsp/main.c
@ -8,6 +8,18 @@ void init() {
|
||||
// will set the period later
|
||||
}
|
||||
|
||||
int strlen(const char* str) {
|
||||
int i = 0;
|
||||
while(str[i] != '\0') {
|
||||
i++;
|
||||
}
|
||||
return i;
|
||||
}
|
||||
|
||||
void log(const char* stuff) {
|
||||
uart_writen(uart0, stuff, strlen(stuff));
|
||||
}
|
||||
|
||||
int main() {
|
||||
init();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user