some code fixes, start to draw new schematic

This commit is contained in:
Edward Emelianov
2024-03-19 23:42:48 +03:00
parent ad92546f82
commit e92a5c4234
22 changed files with 156780 additions and 20670 deletions

View File

@@ -263,8 +263,11 @@ const char *getint(const char *txt, int32_t *I){
}
const char *nxt = getnum(s, &U);
if(nxt == s) return txt;
if(U & 0x80000000) return txt; // overfull
*I = sign * (int32_t)U;
if(U & 0x80000000){ // uint32_t
*I = (int32_t)U;
}else{
*I = sign * (int32_t)U;
}
return nxt;
}