pwm.hpp: Pwm constructor optional arg order change
authorBrendan Le Foll <brendan.le.foll@intel.com>
Wed, 14 Jan 2015 11:43:40 +0000 (11:43 +0000)
committerBrendan Le Foll <brendan.le.foll@intel.com>
Wed, 14 Jan 2015 11:52:13 +0000 (11:52 +0000)
commitf51afc1fbcf3d7b91a6b3c29765a5ff591c49d59
tree65bf2c2bb364ebd434aff6063737aee1bb076920
parentb7a0856f51ee53b61802e97b6c6801bff807785d
pwm.hpp: Pwm constructor optional arg order change

This means that you can initialise a non raw Pwm pin without having to redefine
chipid as -1 (anything but -1 enables raw mode for Pwm)

Fixes #93.

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
api/mraa/pwm.hpp