Mercurial > public > hwos_code
changeset 323:19f7dc2b12d6
FIX minor assert: separate diluant list means current gas can go up to 10.
author | jDG |
---|---|
date | Fri, 12 Jun 2015 22:18:21 +0200 |
parents | fe06f1d1a285 |
children | 0e9dcdcf03c1 |
files | src/p2_deco.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/p2_deco.c Fri Jun 12 22:15:57 2015 +0200 +++ b/src/p2_deco.c Fri Jun 12 22:18:21 2015 +0200 @@ -729,7 +729,7 @@ // static void gas_switch_find_current(void) { - assert( 0 < char_I_current_gas && char_I_current_gas <= (NUM_GAS+1) ); + assert( 0 < char_I_current_gas && char_I_current_gas <= (2*NUM_GAS) ); if( char_I_current_gas <= NUM_GAS ) // Gas1..Gas5 {