cc65 2.13. features a default-per-target mouse driver so there's no need to deal with their names in Contiki anymore.
This commit is contained in:
parent
79d7c366a3
commit
31eb62821f
4 changed files with 6 additions and 9 deletions
|
@ -30,7 +30,7 @@
|
|||
*
|
||||
* Author: Oliver Schmidt <ol.sc@web.de>
|
||||
*
|
||||
* $Id: ctk-mouse.c,v 1.2 2007/12/24 00:13:28 oliverschmidt Exp $
|
||||
* $Id: ctk-mouse.c,v 1.3 2009/10/18 09:33:08 oliverschmidt Exp $
|
||||
*/
|
||||
|
||||
#include <mouse.h>
|
||||
|
@ -52,7 +52,7 @@ ctk_mouse_init(void)
|
|||
{
|
||||
struct mod_ctrl module_control = {cfs_read};
|
||||
|
||||
module_control.callerdata = cfs_open(MOUSE_CONF_DRIVER, CFS_READ);
|
||||
module_control.callerdata = cfs_open(mouse_stddrv, CFS_READ);
|
||||
okay = module_control.callerdata >= 0;
|
||||
if(okay) {
|
||||
okay = mod_load(&module_control) == MLOAD_OK;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue