dsp: non-functional code. needs funcall refactor in cc

This commit is contained in:
Paul Mathieu 2021-03-18 20:14:00 -07:00
parent b70cdd13c4
commit f7b7118278

View File

@ -8,6 +8,18 @@ void init() {
// will set the period later // 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() { int main() {
init(); init();