diff options
-rw-r--r-- | device-functions.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/device-functions.c b/device-functions.c index 7dd2500..3d14f0a 100644 --- a/device-functions.c +++ b/device-functions.c @@ -428,9 +428,9 @@ int Set_Pw(int check_possible_only,int word_override,int range_override,int chan if (channel==0) { if (globals.Flash.special_pw_range_minimum[channel] > 0.0) { if (set_pw > globals.Flash.special_pw_range_minimum[channel]) { - set_shiftreg_bits(SR_2, XTR_POS + 1, ONE_BIT, BIT_HIGH); + set_shiftreg_bits(SR_2, XTR_POS + 2, ONE_BIT, BIT_HIGH); } else { - set_shiftreg_bits(SR_2, XTR_POS + 1, ONE_BIT, BIT_LOW); + set_shiftreg_bits(SR_2, XTR_POS + 2, ONE_BIT, BIT_LOW); } } |