Whether the defense or prosecution made mistakes, if you're left with a reasonable doubt that the defendant is guilty (and I personally consider it the case that inept defense can cause reasonable doubt, unless the prosecution presents an airtight case - a lot of people, including most of my lawyer friends, would disagree with me there), don't vote to convict.
That is my main problem with juries. Whatever they are, they are decidedly not a jury of my peers. They are people who are selected to be as dumb and open to suggestion as possible. Effectively a popularity contest between counsel.
One day in a courtroom during jury selection should show any thinking individual that the whole process is a complete farce. Only the least capable (in general) end up on juries - and it's entirely by design.