1099-S Rented portion (room) of property

I am selling my condo after living in it continuously as my primary residence for 29 months. I rented out one of the bedrooms and reported the rental income on Schedule E. Do I still qualify for the capital gains exclusion, or will the portion of my property that was rented be subject to capital gains?