Mercurial > public > ostc4
comparison Discovery/Src/t7.c @ 249:cefee1448ea6
Merged in janlmulder/ostc4/bm-1 (pull request #16)
Replace Relative GF by saturation
author | heinrichsweikamp <bitbucket@heinrichsweikamp.com> |
---|---|
date | Thu, 11 Apr 2019 10:26:22 +0000 |
parents | 3949781096d4 |
children | 7420ed6c3508 b111fc4250e9 |
comparison
equal
deleted
inserted
replaced
245:c282f9e88c66 | 249:cefee1448ea6 |
---|---|
2576 break; | 2576 break; |
2577 | 2577 |
2578 /* actual GF */ | 2578 /* actual GF */ |
2579 case 8: | 2579 case 8: |
2580 headerText[2] = TXT_ActualGradient; | 2580 headerText[2] = TXT_ActualGradient; |
2581 snprintf(text,TEXTSIZE,"\020%.0f",100 * pDecoinfoStandard->output_relative_gradient); | 2581 snprintf(text,TEXTSIZE,"\020%.0f\016\016%%\017",100 * pDecoinfoStandard->super_saturation); |
2582 break; | 2582 break; |
2583 } | 2583 } |
2584 headerText[3] = 0; | 2584 headerText[3] = 0; |
2585 | 2585 |
2586 if(tinyHeaderFont) | 2586 if(tinyHeaderFont) |
3096 else | 3096 else |
3097 textpointer += snprintf(&text[textpointer],10,"\020%01.1f",pDecoinfoStandard->output_ceiling_meter); | 3097 textpointer += snprintf(&text[textpointer],10,"\020%01.1f",pDecoinfoStandard->output_ceiling_meter); |
3098 text[textpointer++] = '\n'; | 3098 text[textpointer++] = '\n'; |
3099 text[textpointer++] = '\r'; | 3099 text[textpointer++] = '\r'; |
3100 text[textpointer++] = '\t'; | 3100 text[textpointer++] = '\t'; |
3101 textpointer += snprintf(&text[textpointer],10,"\020%.0f", 100 * pDecoinfoStandard->output_relative_gradient); | 3101 textpointer += snprintf(&text[textpointer],10,"\020%.0f\016\016%%\017", 100 * pDecoinfoStandard->super_saturation); |
3102 text[textpointer++] = '\n'; | 3102 text[textpointer++] = '\n'; |
3103 text[textpointer++] = '\r'; | 3103 text[textpointer++] = '\r'; |
3104 text[textpointer++] = '\t'; | 3104 text[textpointer++] = '\t'; |
3105 textpointer += snprintf(&text[textpointer],10,"\020%.0f\016\016%%\017",fCNS); | 3105 textpointer += snprintf(&text[textpointer],10,"\020%.0f\016\016%%\017",fCNS); |
3106 text[textpointer++] = '\n'; | 3106 text[textpointer++] = '\n'; |