Modifying IRLock code

I am trying to modify the Arducopter code to be able to use only the irlock without the precision landing. I spent 2 days to try to understand both the irlock and the precision landing library. when i try to print out the raw data of the irlock (x,y,width and height) i get nothing. what i realized when debugging that it never synchronise with the frame start 0xAA55AA55, and because of that it never works.
I would appreciate any advice in this situation.