That cannon was an anti-tank weapon, but according to part 2 of the video series in this thread, it accounted for maybe 20% of their kills.
However the video also claims the avionics are garbage and misidentified targets were common. Civilians and friendly fire were often attacked by the A10 during Desert Storm I.
The F-15 has <checks> a 20mm gun with 15% less ammo.