Change library parameter to match current device