Skip to content
Browse files

Still fixing for old misspelling errors

  • Loading branch information...
1 parent 9de9d25 commit 9cbb450c392eb527bdab4391a89e2f1ff31eef32 cpscotti committed Apr 18, 2011
View
2 PushBurton2/pushburtongenericdevice.cpp
@@ -62,7 +62,7 @@ bool PushBurtonGenericDevice::subscribesToAny()
return false;
}
-void PushBurtonGenericDevice::incomming_reading(NPushLogTick *)
+void PushBurtonGenericDevice::incoming_reading(NPushLogTick *)
{
}
View
2 PushBurton2/pushburtongenericdevice.h
@@ -73,7 +73,7 @@ class PushBurtonGenericDevice : public QObject
public slots:
- virtual void incomming_reading(NPushLogTick *);
+ virtual void incoming_reading(NPushLogTick *);
signals:
void reading_ready(NPushLogTick *);
View
4 PushBurton2/pushdevicesholder.cpp
@@ -92,7 +92,7 @@ void PushDevicesHolder::push_back(PushBurtonGenericDevice* ptr)
//If new device subscribes to it //PS: This enables recursion!!
if(ptr->subscribesTo(iptr) || typeid(*iptr) == typeid(PushN8SimulationDevice)) {
qDebug() << "Connected " << iptr->get_description() << "\'s output to " << ptr->get_description();
- ptr->connect(iptr, SIGNAL(reading_ready(NPushLogTick*)), ptr, SLOT(incomming_reading(NPushLogTick*)), Qt::UniqueConnection);
+ ptr->connect(iptr, SIGNAL(reading_ready(NPushLogTick*)), ptr, SLOT(incoming_reading(NPushLogTick*)), Qt::UniqueConnection);
}
}
}
@@ -103,7 +103,7 @@ void PushDevicesHolder::push_back(PushBurtonGenericDevice* ptr)
if(iptr->subscribesToAny()) {
if(iptr->subscribesTo(ptr)) {
qDebug() << "Connected " << ptr->get_description() << "\'s output to " << iptr->get_description();
- iptr->connect(ptr, SIGNAL(reading_ready(NPushLogTick*)), iptr, SLOT(incomming_reading(NPushLogTick*)), Qt::UniqueConnection);
+ iptr->connect(ptr, SIGNAL(reading_ready(NPushLogTick*)), iptr, SLOT(incoming_reading(NPushLogTick*)), Qt::UniqueConnection);
}
}
}
View
5 PushBurton2/pushn8simulationdevice.cpp
@@ -152,8 +152,11 @@ NPushFootTick * PushN8SimulationDevice::readFootTick()
{
QChar side = xml.attributes().value("side").toString().at(0);
- int heel = xml.attributes().value("heel").toString().toInt();
+
+ qDebug() << "CAUTION!! Flipping to correct runs from yesterday (march 8th)";
+ //CAUTION!! Flipping to correct runs from yesterday (march 8th).
int toes = xml.attributes().value("toes").toString().toInt();
+ int heel = xml.attributes().value("heel").toString().toInt();
quint64 tstamp = (quint64)((double)xml.attributes().value("tstamp").toString().toDouble()*1000.0);

0 comments on commit 9cbb450

Please sign in to comment.
Something went wrong with that request. Please try again.