Changeset 188 for trunk/kernel/devices/dev_fbf.c
- Timestamp:
- Jul 12, 2017, 8:12:41 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/devices/dev_fbf.c
r65 r188 41 41 extern chdev_directory_t chdev_dir; // allocated in kernel_init.c 42 42 43 extern chdev_pic_input_t chdev_input_irq; // allocated in kernel_init.c44 45 43 //////////////////////////////////// 46 void dev_fbf_init( chdev_t * chdev, 47 uint32_t width, 48 uint32_t height ) 44 void dev_fbf_init( chdev_t * chdev ) 49 45 { 50 46 // set FBF chdev extension fields 51 // TODO for the "width" and "height", fields,this should be done in the impementation47 // TODO this should be done in the impementation 52 48 // TODO specific part, as these parameters must be obtained from the hardware. 53 chdev->ext.fbf.width = width;54 chdev->ext.fbf.height = height;49 chdev->ext.fbf.width = CONFIG_FBF_WIDTH; 50 chdev->ext.fbf.height = CONFIG_FBF_HEIGHT; 55 51 56 52 // get implementation … … 59 55 // set chdev name 60 56 strcpy( chdev->name, "fbf" ); 57 61 58 // call driver init function 62 59 if( impl == IMPL_FBF_SCL )
Note: See TracChangeset
for help on using the changeset viewer.