Fixes issue #14

There was an error in the source code which prevented it being compiled
that is now fixed. The precompiled firmware is unchanged.