#include <plp/log.h>
-#include "DeviceConfig.hh"
+#include <plp/DeviceConfig.hh>
+#include <plp/Device.hh>
+
#include "Factory.hh"
-#include "Device.hh"
using namespace w1;
using namespace std;
else {
log_debug("could not find 1-wire devices.\n");
}
+ log_debug("trying to start emptying list\n");
while (device_list.empty() == false) {
device = device_list.back();
device_list.pop_back();
+ log_debug("calling delete\n");
delete(device);
}
return 0;