| David's problem is more generic than just a flash issue, regardless of whether its onboard flash or secondary one.
Actually my K10D also underexposes pretty much indoors too. But mine can be corrected with just +1 on exp compensation.
By the way, have you upgraded your firmware to the latest? |