I'm glad you gave him the meds. It's sometimes tough to get over our "don't wants" and deal with our babies immediate needs. The time between when we get the meds and decide to give the meds can cause our lo's so much suffering. But your baby is doing better now and will be alright. And maybe he's konked out because it's what his body needs to do to heal and not necessarily because the meds did it.
Good for you for giving him the meds and hope baby mends soon.