A mother who abandoned her newborn in the toilet of a South Carolina sports arena has avoided prison time.