The problem turned out to be mechanical. The arm that I mounted the camera on had developed a crack where it connects to the build platform. I used some superglue to repair the crack and the camera shaking went away. The lesson here is to check EVERYTHING mechanical before trying to blame shaking on the firmware.

Only top voted, non community-wiki answers of a minimum length are eligible