X-Git-Url: http://developer.intra2net.com/git/?p=libftdi;a=blobdiff_plain;f=ftdipp%2Fftdi.cpp;h=3d59d9dca037d33fa5fcdcf4cbb6dbdff4bacbb7;hp=d9b6fbf229b097e64dd5f60cc85fcfcd8876aefe;hb=7964636842a44bcfad9416b90483770f7cb172fa;hpb=dcd7e8a307f75474afb23bd5da7048db91faeaa1 diff --git a/ftdipp/ftdi.cpp b/ftdipp/ftdi.cpp index d9b6fbf..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-2014 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-2014 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); }