add up to 32 stars, poisson noice and mask in artifical star plugin

This commit is contained in:
2024-02-19 17:05:59 +03:00
parent 24276ab9ce
commit 248342ae86
6 changed files with 176 additions and 68 deletions

View File

@@ -81,7 +81,7 @@ static int parseans(char *ans){
}
if(0 == strcmp(cc_hresult2str(RESULT_FAIL), ans)) return TRUE;
if(0 == strcmp(cc_hresult2str(RESULT_OK), ans)) return TRUE;
char *val = cc_get_keyval(ans); // now `ans` is a key and `val` its value
char *val = cc_get_keyval(&ans); // now `ans` is a key and `val` its value
if(0 == strcmp(CC_CMD_EXPSTATE, ans)){
expstate = atoi(val);
DBG("Exposition state: %d", expstate);