Adjust debug output for connectors to save vertical log space
This commit is contained in:
@@ -1006,14 +1006,27 @@ debug_connectors()
|
|||||||
ERROR(" - id: %" B_PRIu16 "\n", encoderID);
|
ERROR(" - id: %" B_PRIu16 "\n", encoderID);
|
||||||
ERROR(" - type: %s\n",
|
ERROR(" - type: %s\n",
|
||||||
encoder_name_lookup(encoderID));
|
encoder_name_lookup(encoderID));
|
||||||
ERROR(" - is external: %s\n",
|
|
||||||
gConnector[id]->encoder.isExternal ? "true" : "false");
|
bool attribute = false;
|
||||||
ERROR(" - is HDMI: %s\n",
|
ERROR(" - attributes:\n");
|
||||||
gConnector[id]->encoder.isHDMI ? "true" : "false");
|
if (gConnector[id]->encoder.isExternal == true) {
|
||||||
ERROR(" - is TV: %s\n",
|
attribute = true;
|
||||||
gConnector[id]->encoder.isTV ? "true" : "false");
|
ERROR(" * is external\n");
|
||||||
ERROR(" - is DP bridge: %s\n",
|
}
|
||||||
gConnector[id]->encoder.isDPBridge ? "true" : "false");
|
if (gConnector[id]->encoder.isHDMI == true) {
|
||||||
|
attribute = true;
|
||||||
|
ERROR(" * is HDMI\n");
|
||||||
|
}
|
||||||
|
if (gConnector[id]->encoder.isTV == true) {
|
||||||
|
attribute = true;
|
||||||
|
ERROR(" * is TV\n");
|
||||||
|
}
|
||||||
|
if (gConnector[id]->encoder.isDPBridge == true) {
|
||||||
|
attribute = true;
|
||||||
|
ERROR(" * is DisplayPort bridge\n");
|
||||||
|
}
|
||||||
|
if (attribute == false)
|
||||||
|
ERROR(" * no extra attributes\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ERROR("==========================================\n");
|
ERROR("==========================================\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user