예제 #1
0
LT_SMBus::LT_SMBus()
{
  poly_ = 0x07;
  crc_polynomial_ = 0x0107;
  pec_enabled_ = false;

  // Set up the PEC table.
  constructTable(crc_polynomial_);
}
예제 #2
0
	SparseMinTable(const Vector& data) : m_width(data.size()), m_numbersToTwoPower(data.size() + 1, 0)
	{
		calcPowers();
		calcHeigth();
		constructTable(std::move(data));
	}