Changeset 722912e in mainline for uspace/lib/c/generic/device/hw_res_parsed.c
- Timestamp:
- 2012-06-29T13:04:54Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ea150dc6
- Parents:
- 6843a9c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/device/hw_res_parsed.c
r6843a9c r722912e 44 44 assert((res->type == DMA_CHANNEL_8) || (res->type == DMA_CHANNEL_16)); 45 45 46 const intchannel = (res->type == DMA_CHANNEL_8) ?46 const unsigned channel = (res->type == DMA_CHANNEL_8) ? 47 47 res->res.dma_channel.dma8 : res->res.dma_channel.dma16; 48 48 const size_t count = out->dma_channels.count;
Note:
See TracChangeset
for help on using the changeset viewer.