fix error: 'HAL_PIXEL_FORMAT' was not declared in this scope