Ouput identity object indented in slave info file.
authorFlorian Pose <fp@igh-essen.com>
Fri, 05 Oct 2007 08:13:16 +0000
changeset 765 5eaf2af36427
parent 764 41a5bdff9d9b
child 766 97e98cbd0cd2
Ouput identity object indented in slave info file.
master/slave.c
--- a/master/slave.c	Fri Oct 05 07:42:47 2007 +0000
+++ b/master/slave.c	Fri Oct 05 08:13:16 2007 +0000
@@ -739,13 +739,14 @@
         off += sprintf(buffer + off, "Configured station alias:"
                        " 0x%04X (%i)\n\n", slave->sii_alias, slave->sii_alias);
 
-    off += sprintf(buffer + off, "Vendor ID: 0x%08X (%u)\n",
+    off += sprintf(buffer + off, "Identity:\n");
+    off += sprintf(buffer + off, "  Vendor ID: 0x%08X (%u)\n",
                    slave->sii_vendor_id, slave->sii_vendor_id);
-    off += sprintf(buffer + off, "Product code: 0x%08X (%u)\n",
+    off += sprintf(buffer + off, "  Product code: 0x%08X (%u)\n",
                    slave->sii_product_code, slave->sii_product_code);
-    off += sprintf(buffer + off, "Revision number: 0x%08X (%u)\n",
+    off += sprintf(buffer + off, "  Revision number: 0x%08X (%u)\n",
                    slave->sii_revision_number, slave->sii_revision_number);
-    off += sprintf(buffer + off, "Serial number: 0x%08X (%u)\n\n",
+    off += sprintf(buffer + off, "  Serial number: 0x%08X (%u)\n\n",
                    slave->sii_serial_number, slave->sii_serial_number);
 
     if (slave->sii_mailbox_protocols) {