/* Unregisters a callback. 
Unregisters a callback function implemented by the user. */
enum status_code slcd_unregister_callback(const slcd_callback_t callback, const enum slcd_callback_type type)
/* Unregisters a callback. 
Unregisters a callback function implemented by the user. */
enum status_code slcd_unregister_callback(const slcd_callback_t callback, const enum slcd_callback_type type)
{
	if (type >= SLCD_CALLBACK_TYPE_NUM){
		return STATUS_ERR_INVALID_ARG;
	}
	slcd_callback_pointer[type] = NULL;
	return STATUS_OK;
}