JoaoLopesF / RemoteDebug

Library for Arduino to debug projects over WiFi, with web app or telnet, with print commands like Serial Monitor
MIT License
613 stars 127 forks source link

Changing MAX_TIME_INACTIVE #63

Open GiPe66 opened 4 years ago

GiPe66 commented 4 years ago

The session is automatically closed after 10 minutes and this a problem when debugging.

It should be nice to be able to redefine MAX_TIME_INACTIVE without editing RemoteDebugCfg.h

// Maximum time for inactivity (em milliseconds) // Default: 10 minutes // Comment it if you not want this // Can be by project, just define it before include this file

ifndef MAX_TIME_INACTIVE // To be added

define MAX_TIME_INACTIVE 600000

endif // to be added

jeroenst commented 4 years ago

I implemented you CR in https://github.com/jeroenst/RemoteDebug