Changeset 674 for trunk/kernel/devices/dev_dma.c
- Timestamp:
- Nov 20, 2020, 12:04:01 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/devices/dev_dma.c
r657 r674 45 45 46 46 // set dma name 47 snprint f( dma->name , 16 , "dma%d_%x" , channel , local_cxy );47 snprintk( dma->name , 16 , "dma%d_%x" , channel , local_cxy ); 48 48 49 49 // call driver init function … … 69 69 if( error ) 70 70 { 71 assert( false , "cannot create server thread" );71 assert( __FUNCTION__, false , "cannot create server thread" ); 72 72 } 73 73 … … 104 104 105 105 // check DMA chdev definition 106 assert( (dev_xp != XPTR_NULL) , "undefined DMA chdev descriptor" );106 assert( __FUNCTION__, (dev_xp != XPTR_NULL) , "undefined DMA chdev descriptor" ); 107 107 108 108 // register command in calling thread descriptor … … 151 151 152 152 // check DMA chdev definition 153 assert( (dev_xp != XPTR_NULL) , "undefined DMA chdev descriptor" );153 assert( __FUNCTION__, (dev_xp != XPTR_NULL) , "undefined DMA chdev descriptor" ); 154 154 155 155 // register command in calling thread descriptor
Note: See TracChangeset
for help on using the changeset viewer.