I could be wrong, but I believe that they are separate and apart.
The invalid ordinance would be listed as 32.56(A).
Now, if it said something like....
Section 34.56 Public Safety
No person shall shoot a BB gun anywhere within the boundaries of NorthHamtonShireOfTheWoods County. In addition, the maximum speed limit in NorthHamtonShireOfTheWoods County shall be 32.5 miles per hour.
Then the whole thing would be invalid, IMHO.