emoncms/emoncms — pull request #23 by oscarcarlsson (2013-01-29 22:30:56+00:00)
Title: Pulse Difference input processing, handle signed integer

First, I'm sorry about not knowing what I'm doing regarding GitHub, this is my first stab at a pull request.. Hope I get this right :)

Instead of silently ignoring negative values passed into pulse_diff(),
convert them to unsigned integer. Pulses should always be positive.

Refs #22