Yes, that would be correct. If you look into commands.cpp you should see something like this:
#if FEATURE_SERVO
case 340: // M340
if (com->hasP() && com->P < 4 && com->P >= 0) {
ENSURE_POWER
int s = 0;
if (com->hasS())
s = com->S;
uint16_t r = 0;
if (com->hasR()) // auto off time in ms
r = com->R;
HAL::servoMicroseconds(com->P, s, r);
}
break;
#endif // FEATURE_SERVO
Only if a case in the M list is empty you get the unknown command response. So check if there is another define setting it to 0. Servo support is already quite old so it should be in all 1.x versions.