-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Labels
Category: BuildRelated to building/IDE/releasesRelated to building/IDE/releasesCategory: StabiliyThings that work, but not as long as desiredThings that work, but not as long as desiredType: BugConsidered a bugConsidered a bug
Description
@TD-er would you be please so kind and replace in webserver.ino three occurences of :
NotificationSettingsStruct NotificationSettings;
with
NotificationSettingsStruct* NotificationSettingsStruct_ptr =new NotificationSettingsStruct;
NotificationSettingsStruct& NotificationSettings = *NotificationSettingsStruct_ptr ;
that moves that temporary struct to heap. Clicking the notifications tab and setting an email notifications brings the stack down to 1700 (was 500 before)
Don't forget to delete() afterwards.
Sorry for asking, but creating pull requests takes me at least half an hour ;-)
Thanks.
Edit:
There are more potential replacements like
ControllerSettingsStruct ControllerSettings;
with
ControllerSettingsStruct* ControllerSettings_ptr =new ControllerSettingsStruct;
ControllerSettingsStruct& ControllerSettings = *ControllerSettings_ptr ;
There are some more hidden in the code, e.g. comtrollers. You find them best if you search for "ControllerSettingsStruct " with a space char at the end of the search string.
Metadata
Metadata
Assignees
Labels
Category: BuildRelated to building/IDE/releasesRelated to building/IDE/releasesCategory: StabiliyThings that work, but not as long as desiredThings that work, but not as long as desiredType: BugConsidered a bugConsidered a bug