make get_key() result const char *, so that it is not modified
This commit is contained in:
@@ -25,6 +25,6 @@ MODULE_EXPORT void sed1330_heartbeat( Driver * drvthis, int type );
|
||||
MODULE_EXPORT int sed1330_icon( Driver * drvthis, int x, int y, int icon);
|
||||
|
||||
MODULE_EXPORT void sed1330_backlight( Driver * drvthis, int on );
|
||||
MODULE_EXPORT char * sed1330_get_key(Driver *drvthis);
|
||||
MODULE_EXPORT const char * sed1330_get_key(Driver *drvthis);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user