make get_key() result const char *, so that it is not modified
This commit is contained in:
1 parent
bc01f2e012
commit
743871cff3
36 files changed
+76
-77
No files matched your search
@@ -1110,7 +1110,7 @@ HD44780_icon (Driver *drvthis, int x, int y, int icon)
|
||||
/////////////////////////////////////////////////////////////
|
||||
// Get a key from the keypad (if there is one)
|
||||
//
|
||||
MODULE_EXPORT char *
|
||||
MODULE_EXPORT const char *
|
||||
HD44780_get_key(Driver *drvthis)
|
||||
{
|
||||
PrivateData *p = (PrivateData *) drvthis->private_data;
|
||||
|
||||
Reference in new issue
Block a user