Hi,

On Fri, Oct 25 at 03:32, Shivakumar R via Sdcc-user wrote:
> Perhaps you're right. Maybe I did. Maybe I just couldn't find it.??

Second big if statement in NOT WORKING code.

                if((PC_IDR &= (1 << DnKey_Pin))==0)

Note &= rather than &

As a consequence you are turning off a lot of bits in PC_IDR.

-- 
        Bob Dunlop


_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to