Reduce debug messages of UART driver

This commit is contained in:
Norman Feske 2013-01-11 21:07:22 +01:00
parent 0ca774592f
commit 4fd932f7c1
2 changed files with 2 additions and 6 deletions

View File

@ -75,7 +75,7 @@ int main(int argc, char **argv)
enum { BAUD = 115200 };
if (baudrate == 0)
{
PDBG("Baudrate is not defined. Use default 115200");
PINF("Baudrate is not defined. Use default 115200");
baudrate = BAUD;
}

View File

@ -164,11 +164,7 @@ namespace Uart {
unsigned uart_baudrate = 0;
try {
policy.attribute("baudrate").value(&uart_baudrate);
} catch (Xml_node::Nonexistent_attribute) {
PDBG("Missing \"baudrate\" attribute in policy definition");
}
PDBG("UART%d %d", uart_index, uart_baudrate);
} catch (Xml_node::Nonexistent_attribute) { }
return new (md_alloc())
Session_component(_driver_factory, uart_index, uart_baudrate);