Changeset 23 for trunk/kernel/devices/dev_txt.c
- Timestamp:
- Jun 18, 2017, 10:06:41 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/devices/dev_txt.c
r16 r23 50 50 uint32_t impl = chdev->impl; 51 51 uint32_t channel = chdev->channel; 52 53 // set chdev name 54 snprintf( chdev->name , 16 , "txt_%d" , chdev->channel ); 52 55 53 56 // set fields "cmd", "isr", and call driver init function … … 164 167 xptr_t dev_xp = chdev_dir.txt[channel]; 165 168 169 assert( (dev_xp != XPTR_NULL) , __FUNCTION__ , "undefined TXT0 chdev descriptor" ); 170 166 171 // register command in calling thread 167 172 this->command.txt.dev_xp = dev_xp;
Note: See TracChangeset
for help on using the changeset viewer.