# HG changeset patch # User jDG # Date 1434140301 -7200 # Node ID 19f7dc2b12d6f2b247ce37f8d144c7c0df049904 # Parent fe06f1d1a28500a11682c02532022eeca43f8a43 FIX minor assert: separate diluant list means current gas can go up to 10. diff -r fe06f1d1a285 -r 19f7dc2b12d6 src/p2_deco.c --- 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 {