Ignore:
Timestamp:
Jan 31, 2014, 11:35:57 AM (11 years ago)
Author:
cfuguet
Message:

Introducing branch to test ioc drivers before merging on trunk

Location:
branch
Files:
1 added
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • branch/giet_vm_ioc_drivers/giet_xml/xml_driver.c

    r263 r283  
    7474        "TTY",
    7575        "XCU",
     76    };
     77
     78    const char * periph_subtype[] =
     79    {
     80        "BDV",
     81        "HBA",
     82        "SPI",
    7683    };
    7784
     
    306313        {
    307314            fprintf(fpout, "            <periph type = \"%s\" ", periph_type[periph[periph_id].type]);
     315
     316            if (periph[periph_id].subtype < PERIPH_SUBTYPE_MAX_VALUE)
     317                fprintf(fpout, " subtype = \"%s\" ", periph_subtype[periph[periph_id].subtype]);
     318
    308319            fprintf(fpout, " psegname = \"%s\" ", pseg[periph[periph_id].psegid].name);
    309320            fprintf(fpout, " channels = \"%d\" />\n",  periph[periph_id].channels);
Note: See TracChangeset for help on using the changeset viewer.