From 78ea8ac80896cf6167a4d0419a5d83f1d26d80e6 Mon Sep 17 00:00:00 2001 From: Gwenhael Goavec-Merou Date: Thu, 29 Oct 2020 07:39:07 +0100 Subject: [PATCH] ftdipp_mpsse: change _buffer visibility --- src/ftdipp_mpsse.hpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/ftdipp_mpsse.hpp b/src/ftdipp_mpsse.hpp index 13a7d8d..32dbd7b 100644 --- a/src/ftdipp_mpsse.hpp +++ b/src/ftdipp_mpsse.hpp @@ -62,15 +62,14 @@ class FTDIpp_MPSSE { int _addr; char _product[64]; unsigned char _interface; + /* gpio */ + bool __gpio_write(bool low_pins); protected: int _clkHZ; struct ftdi_context *_ftdi; int _buffer_size; int _num; - private: unsigned char *_buffer; - /* gpio */ - bool __gpio_write(bool low_pins); }; #endif