utzig commented on issue #11: image erase: allow only when slot image is not backup/pending... URL: https://github.com/apache/mynewt-mcumgr/pull/11#issuecomment-414692877 I think you should be returning `MGMT_ERR_EBADSTATE` instead of `MGMT_ERR_ENOMEM`.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
