Commit d789d78f authored by Robert Ricci's avatar Robert Ricci

Move the definition of SUPERMAGIC_PACKET_MULTIPLIER down into the .cc

file. gcc 4.0 (used by FC4) didn't like having it defined in the .h
file.
parent dc19a0b3
......@@ -12,6 +12,8 @@
using namespace std;
const float PacketSensor::SUPERMAGIC_PACKET_MULTIPLIER = 1.04;
PacketSensor::PacketSensor(StateSensor const * newState)
: globalSequence()
, state(newState)
......
......@@ -102,7 +102,7 @@ private:
// Typically, 4% of a packet is header. It's more, though, if the packet is
// less than 1500 bytes
static const float SUPERMAGIC_PACKET_MULTIPLIER = 1.04;
static const float SUPERMAGIC_PACKET_MULTIPLIER; // = 1.04;
};
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment