added logging of driver loading
This commit is contained in:
@@ -43,8 +43,11 @@ static int32_t unit_count = -1;
|
||||
void ureg_add_type(const UnitDriver *driver)
|
||||
{
|
||||
assert_param(driver != NULL);
|
||||
assert_param(driver->description != NULL);
|
||||
assert_param(driver->name != NULL);
|
||||
|
||||
dbg("Loading driver %s", driver->name);
|
||||
|
||||
assert_param(driver->description != NULL);
|
||||
assert_param(driver->preInit != NULL);
|
||||
assert_param(driver->cfgLoadBinary != NULL);
|
||||
assert_param(driver->cfgLoadIni != NULL);
|
||||
|
||||
@@ -27,7 +27,7 @@ void plat_init(void)
|
||||
|
||||
dbg("Loading settings ...");
|
||||
// Load settings from Flash and apply (includes System settings and all Unit settings)
|
||||
settings_load();
|
||||
settings_load(); // XXX maybe this should be moved to the main task
|
||||
|
||||
comm_init();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user