X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fkern-scale%2Fprotocol.h;h=836eb91b0404014ac7670cae80467f656743271c;hb=9e0693f92d9e11ac7bc75ef4d7ee082cae99ab6c;hp=dcfe06cbdadf4ce968084002045f34fb5771ee1c;hpb=7fc9dc31ac95de566e0d88daec7d839193fc3fbe;p=libsigrok.git diff --git a/src/hardware/kern-scale/protocol.h b/src/hardware/kern-scale/protocol.h index dcfe06cb..836eb91b 100644 --- a/src/hardware/kern-scale/protocol.h +++ b/src/hardware/kern-scale/protocol.h @@ -14,8 +14,7 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * along with this program; if not, see . */ #ifndef LIBSIGROK_HARDWARE_KERN_SCALE_PROTOCOL_H @@ -40,14 +39,13 @@ struct scale_info { gboolean (*packet_valid)(const uint8_t *); /** Packet parsing function. */ int (*packet_parse)(const uint8_t *, float *, - struct sr_datafeed_analog_old *, void *); + struct sr_datafeed_analog *, void *); /** Size of chipset info struct. */ gsize info_size; }; #define SCALE_BUFSIZE 256 -/** Private, per-device-instance driver context. */ struct dev_context { struct sr_sw_limits limits;