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).
return ftdi_read_pins(d->ftdi, pins);
}
-char* Context::error_string()
+const char* Context::error_string()
{
return ftdi_get_error_string(d->ftdi);
}