Fix for geehrc POWER-HAL by @xboxfanj