Updated rpi to remove dead code and get duration from frame.
Merge branch 'master' of https://github.com/openpowerquality/opq-hardware