If you had been arrested for a felony you would have been taken into custody and not released with a ticket by the police officer. I would carefully read the ticket that you were given to confirm that you were issued a misdemeanor.I would also consult with a criminal defense attorney about the situation concerning your arrest and whether or not a motion to supress the illegal weapon that you had on your possession is warranted. It is up to the district attorney's office who will be filing a complaint against you to change the charge from a misdemeanor to a felony.