Remove shitty arduino logging system

This commit is contained in:
2021-05-05 12:53:37 +02:00
parent d237cc9df6
commit 67dfea558a
8 changed files with 18 additions and 161 deletions

View File

@ -86,19 +86,3 @@ void ARDUINO_ISR_ATTR delayMicroseconds(uint32_t us)
}
}
//used by hal log
const char * ARDUINO_ISR_ATTR pathToFileName(const char * path)
{
size_t i = 0;
size_t pos = 0;
char * p = (char *)path;
while(*p){
i++;
if(*p == '/' || *p == '\\'){
pos = i;
}
p++;
}
return path+pos;
}