Is there a lapse in protection?

I only had one month left of a pill they discontinued. Im switching brands and I was just wondering if there is a lapse in protection while switching brands of birth control pill