summaryrefslogtreecommitdiff
path: root/device-functions.c
diff options
context:
space:
mode:
authorMichael J. Chudobiak <mjc@avtechpulse.com>2013-04-02 14:03:02 -0400
committerMichael J. Chudobiak <mjc@avtechpulse.com>2013-04-02 14:03:02 -0400
commite979ffe831669f3ed837bc22e01f879c14dabc72 (patch)
treea7431bad36ac4c970203f9438569e8e79ef6ee3e /device-functions.c
parent9b89d35a4afa2df4aea39a06381ed0dc3e075e27 (diff)
fix typo
Diffstat (limited to 'device-functions.c')
-rw-r--r--device-functions.c4
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);
}
}