-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a choice of what messages to preserve to clear() #65
Conversation
Memory usage change @ b67ae60
Click for full report table
Click for full report CSV
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd love if you'd provide defines
/constants
with a meaningful name. A enum
would be even better. Numerical constants alone don't mean much.
The numerical constants are fixed in the modem code, listed in the manual. I'll see what I can do. |
I know that they are fixed in the modem firmware 😉, I mean to provide meaningful names for the user of this library. E.g. typedef enum SmsClearMode
{
/* ... */
xyz = 2,
PreserveUnread = 3,
PreserveNoMessage = 4,
};
void clear(SmsClearMode const mode = xyz); |
I used a #define, didn't see the enum until now, hope that is ok |
Memory usage change @ f221527
Click for full report table
Click for full report CSV
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍 Thank you @janakelarsson 🚀
No description provided.