mirror of
https://github.com/itead/ITEADLIB_Arduino_Nextion.git
synced 2026-03-06 18:16:49 +01:00
Modified:char *name to const char *name in all constructors.
Signed-off-by: shennongmin <wupangfee@gmail.com>
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
* Constructor,inherited NexTouch's constructor function.
|
||||
*
|
||||
*/
|
||||
NexButton::NexButton(NexPid pid, NexCid cid, char *name, NexTouchEventCb pop, void *pop_ptr)
|
||||
NexButton::NexButton(NexPid pid, NexCid cid, const char *name, NexTouchEventCb pop, void *pop_ptr)
|
||||
:NexTouch(pid, cid, name, pop, pop_ptr)
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user