chore: Apply code formatting on entire codebase for consistent style

This commit is contained in:
icex2
2023-04-06 15:39:53 +02:00
committed by icex2
parent a1a849aef3
commit 031836ef0e
186 changed files with 2446 additions and 1979 deletions
+2 -2
View File
@@ -117,14 +117,14 @@ int main(int argc, char **argv)
if (!mapper_config_load(schema->name)) {
log_info("Initializing empty config for %s", schema->name);
mapper_set_nlights((uint8_t)(max_light + 1));
mapper_set_nlights((uint8_t) (max_light + 1));
mapper_set_nanalogs((uint8_t) schema->nanalogs);
} else {
// make sure that these are right
if (mapper_get_nlights() != (max_light + 1)) {
log_info("Updating nlights for %s", schema->name);
mapper_set_nlights((uint8_t)(max_light + 1));
mapper_set_nlights((uint8_t) (max_light + 1));
}
if (mapper_get_nanalogs() != schema->nanalogs) {