mcu: Log MCU information before configuring
Log the details of the MCU prior to attempting to configure the MCU. This way, the log contains the MCU information even if a configuration error occurs. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -171,8 +171,9 @@ class Printer:
|
||||
if module in self.objects:
|
||||
return [(module, self.objects[module])] + objs
|
||||
return objs
|
||||
def set_rollover_info(self, name, info):
|
||||
logging.info(info)
|
||||
def set_rollover_info(self, name, info, log=True):
|
||||
if log:
|
||||
logging.info(info)
|
||||
if self.bglogger is not None:
|
||||
self.bglogger.set_rollover_info(name, info)
|
||||
def try_load_module(self, config, section):
|
||||
|
||||
Reference in New Issue
Block a user