/* Unregisters a callback. 
Unregisters and disable a callback function implemented by the user.  */
void quad_decoder_unregister_callback(enum quad_decoder_axis qdec)
/* Unregisters a callback. 
Unregisters and disable a callback function implemented by the user.  */
void quad_decoder_unregister_callback(enum quad_decoder_axis qdec)
{
	switch (qdec) {
	case QDEC_AXIS_X:
		quad_decoder0_callback = NULL;
		break;
	case QDEC_AXIS_Y:
		quad_decoder1_callback = NULL;
		break;
	case QDEC_AXIS_Z:
		quad_decoder2_callback = NULL;
		break;
	}
}