message: Tympan: testTympanRev: improve warning text
diff: @@ -6,19 +6,21 @@ const int TympanBase::BT_uint8_buff_len;
  int TympanBase::testTympanRev(TympanRev tympanRev) {
  #ifdef __IMXRT1062__ //check the processor flag given to the compiler (this is compiled for RevE)
  + //Serial.println("testTympanRev: compiled for RevE, given TympanRev is " + String(static_cast<int>(tympanRev)));
  if (static_cast<int>(tympanRev) < static_cast<int>(TympanRev::E)) {
  - Serial.println("TympanBase: testTympanRev: *** WARNING ***: Compiled for wrong Tympan Rev?");
  - Serial.println(" : This was compiled for Tympan Rev E");
  - Serial.println(" : yet your code said that it was for Tympan Rev C or D.");
  + Serial.println("TympanBase: testTympanRev: *** WARNING ***: You specified the wrong Tympan revision?");
  + Serial.println(" : This code was compiled for Tympan Rev E");
  + Serial.println(" : Yet your code said that it was for Tympan Rev C or D.");
  Serial.println(" : This is unlikely to work. In your code, change to 'TympanRev::E'.");
  return -1;
  }
  #endif
  #ifdef __MK66FX1M0__ //check the processor flag given to the compiler (this is compiled for RevA - RevD)
  + //Serial.println("testTympanRev: compiled for RevD, given TympanRev is " + String(static_cast<int>(tympanRev)));
  if (static_cast<int>(tympanRev) >= static_cast<int>(TympanRev::E)) {
  - Serial.println("TympanBase: testTympanRev: *** WARNING ***: Compiled for wrong Tympan Rev?");
  - Serial.println(" : This was compiled for Tympan Rev D (or C)");
  - Serial.println(" : yet your code said that it was for Tympan Rev E.");
  + Serial.println("TympanBase: testTympanRev: *** WARNING ***: You specified the wrong Tympan revision?");
  + Serial.println(" : TThis code was compiled for Tympan Rev D (or C)");
  + Serial.println(" : Yet your code said that it was for Tympan Rev E.");
  Serial.println(" : This is unlikely to work. In your code, change to 'TympanRev::D' (or C)");
  return -1;
  }
  