Key fob not locking/unlocking after flat battery?

I had a flat battery this morning and after I charged it up the key fob won’t unlock/lock doors…the car will start and I did drive it for a while to replenish the charge in the battery. Any ideas as to what it might be or what I might have to do?
I did do something silly when I put the jump leads on I connected them to the little 12v battery that I believe services the sensors etc… did this mess the key fob sensor up I wonder?