Functions with default values are not supported by arduino because they give problems. see https://github.com/arduino/Arduino/issues/2158 for more detail.