Merge "Fix bug with hal init uninitialized var."