Flickering OLED

  currentHz = Hz;
  previousHz = currentHz;

I wonder why that could be ?