Reformat with bcpp

Used commandline: bcpp -i 2 -yq -ya -s -bcl -tbcl $i
This commit is contained in:
Pim van Pelt
2018-04-09 18:30:46 +02:00
parent 0337487a0c
commit d2e64c0f45
16 changed files with 310 additions and 243 deletions

View File

@ -41,13 +41,14 @@ int log_print_prefix(enum cs_log_level l, const char *func, const char *file) {
case LL_VERBOSE_DEBUG:
strncpy(ll_str, "VERB", sizeof(ll_str));
break;
default: // LL_NONE
default: // LL_NONE
return 0;
}
printf ("%-5s %-20s %-40s| ", ll_str, file, func);
return 1;
}
double mg_time() {
struct timespec ts;
double ret;
@ -60,6 +61,7 @@ double mg_time() {
return ret;
}
void mgos_usleep(uint32_t usecs) {
usleep(usecs);
}