Control for gear shift synchronisation