Fixed misnamed getter in gpio code.
Can't copy Cell of std, so using init() instead.