mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-20 06:07:59 +00:00
Reduce debug messages of UART driver
This commit is contained in:
parent
0ca774592f
commit
4fd932f7c1
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user