commit wuclass led update function c code