Mercurial > public > ostc4
comparison Discovery/Src/tMenuEditHardware.c @ 674:8ebf7a27c189 Betatest
Zusammenf?hren
author | heinrichsweikamp |
---|---|
date | Wed, 30 Mar 2022 18:01:29 +0200 |
parents | d7c5d592076b |
children | 4dd487b407f7 |
comparison
equal
deleted
inserted
replaced
672:c00a80f26641 | 674:8ebf7a27c189 |
---|---|
381 if(settingsGetPointer()->ppo2sensors_source == O2_SENSOR_SOURCE_ANALOG) | 381 if(settingsGetPointer()->ppo2sensors_source == O2_SENSOR_SOURCE_ANALOG) |
382 { | 382 { |
383 write_label_fix( 30, 800, ME_Y_LINE4, &FontT48, TXT2BYTE_O2Calib); | 383 write_label_fix( 30, 800, ME_Y_LINE4, &FontT48, TXT2BYTE_O2Calib); |
384 write_label_var( 400, 800, ME_Y_LINE4, &FontT48, "\016\016 %\017"); | 384 write_label_var( 400, 800, ME_Y_LINE4, &FontT48, "\016\016 %\017"); |
385 | 385 |
386 write_field_toggle(StMHARD3_O2_Calibrate, 400, 800, ME_Y_LINE4, &FontT48, "", 21, 100); | 386 write_field_toggle(StMHARD3_O2_Calibrate, 400, 800, ME_Y_LINE4, &FontT48, "", 21, 98); |
387 } | 387 } |
388 | 388 |
389 text[0] = TXT_Fallback; | 389 text[0] = TXT_Fallback; |
390 text[1] = 1; | 390 text[1] = 1; |
391 | 391 |
515 } | 515 } |
516 if(action == ACTION_BUTTON_NEXT) | 516 if(action == ACTION_BUTTON_NEXT) |
517 { | 517 { |
518 if(O2_calib_gas == 21) | 518 if(O2_calib_gas == 21) |
519 { | 519 { |
520 O2_calib_gas = 100; | 520 O2_calib_gas = 98; |
521 } | 521 } |
522 else | 522 else |
523 { | 523 { |
524 O2_calib_gas = 21; | 524 O2_calib_gas = 21; |
525 } | 525 } |