ppd42ns: Move dustData to upm namespace

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Signed-off-by: Sarah Knepper <sarah.knepper@intel.com>
This commit is contained in:
Brendan Le Foll
2015-01-17 10:07:10 +00:00
committed by Sarah Knepper
parent 3494bd2008
commit 121caf0829
2 changed files with 3 additions and 2 deletions

View File

@ -45,7 +45,7 @@ int main ()
//! [Interesting]
// Instantiate a dust sensor on GPIO pin D8
upm::PPD42NS* dust = new upm::PPD42NS(8);
dustData data;
upm::dustData data;
cout << "This program will give readings every 30 seconds until you stop it" << endl;
while (shouldRun)
{