fixed compilation error on Discovery F4