There is possibility that Officer was out of his Jurisdiction. You will need good lawyer to suppress officer's testimony. If Officer gave you ticket out of his Jurisdiction, he need to call local cop to issue you citation.

Anyways, I was going 77-78 in a 45mph zone
You just made self-incriminating statement. You don't need to testify against yourself.

40 or 45 doesn't matter anymore. Its minor correctable error.