Subversion Repositories group.electronics

Rev

Rev 143 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 143 Rev 151
Line 239... Line 239...
239
             rbi(pcInt.current, ROT_1B_PIN) == 1) ||
239
             rbi(pcInt.current, ROT_1B_PIN) == 1) ||
240
             (rbi(pcInt.current, ROT_1A_PIN) == 0 &&
240
             (rbi(pcInt.current, ROT_1A_PIN) == 0 &&
241
              rbi(pcInt.current, ROT_1B_PIN) == 0))) {
241
              rbi(pcInt.current, ROT_1B_PIN) == 0))) {
242
 
242
 
243
        	if (rbi(pcInt.mask, ROT_1A_PIN) ) {
243
        	if (rbi(pcInt.mask, ROT_1A_PIN) ) {
244
        		input.outer += 1;
244
        		input.outer -= 1;
245
              } else if (rbi(pcInt.mask, ROT_1B_PIN) ) {
245
              } else if (rbi(pcInt.mask, ROT_1B_PIN) ) {
246
            	input.outer -= 1;
246
            	input.outer += 1;
247
            }
247
            }
248
 
248
 
249
        }
249
        }
250
        // Clear the mask so we know we've dealt with it
250
        // Clear the mask so we know we've dealt with it
251
        // Shouldn't be required now that 'doInt' has been removed
251
        // Shouldn't be required now that 'doInt' has been removed