Update digital pin close callback param.