X-Git-Url: http://developer.intra2net.com/git/?p=libftdi;a=blobdiff_plain;f=ftdipp%2Fftdi.cpp;h=3d59d9dca037d33fa5fcdcf4cbb6dbdff4bacbb7;hp=d5c91efdea5f0ba68bcb28b4d93e604a58561f98;hb=7964636842a44bcfad9416b90483770f7cb172fa;hpb=73a71502aaea56081c85c8f69430566af0231375 diff --git a/ftdipp/ftdi.cpp b/ftdipp/ftdi.cpp index d5c91ef..3d59d9d 100644 --- a/ftdipp/ftdi.cpp +++ b/ftdipp/ftdi.cpp @@ -2,11 +2,11 @@ ftdi.cpp - C++ wraper for libftdi ------------------- begin : Mon Oct 13 2008 - copyright : (C) 2008-2013 by Marek Vavruša / libftdi developers + copyright : (C) 2008-2017 by Marek Vavruša / libftdi developers email : opensource@intra2net.com and marek@vavrusa.com ***************************************************************************/ /* -Copyright (C) 2008-2013 by Marek Vavruša / libftdi developers +Copyright (C) 2008-2017 by Marek Vavruša / libftdi developers The software in this package is distributed under the GNU General Public License version 2 (with a special exception described below). @@ -314,7 +314,7 @@ int Context::read_pins(unsigned char *pins) return ftdi_read_pins(d->ftdi, pins); } -char* Context::error_string() +const char* Context::error_string() { return ftdi_get_error_string(d->ftdi); }