Berry fixed 'be_top is non zero' when Br command fails (#23990)
This commit is contained in:
parent
cdc9af224b
commit
e63dbcaa3f
@ -15,6 +15,7 @@ All notable changes to this project will be documented in this file.
|
||||
|
||||
### Fixed
|
||||
- Berry fixed 'be_top is non zero' warning when calling C mapped functions
|
||||
- Berry fixed 'be_top is non zero' when `Br` command fails
|
||||
|
||||
### Removed
|
||||
|
||||
|
||||
@ -523,7 +523,7 @@ void CmndBrRun(void) {
|
||||
be_pop(berry.vm, 1);
|
||||
} else {
|
||||
Response_P(PSTR("{\"" D_PRFX_BR "\":\"[%s] %s\"}"), EscapeJSONString(be_tostring(berry.vm, -2)).c_str(), EscapeJSONString(be_tostring(berry.vm, -1)).c_str());
|
||||
be_pop(berry.vm, 2);
|
||||
be_pop(berry.vm, 3);
|
||||
}
|
||||
|
||||
checkBeTop();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user