]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/kern-scale/protocol.h
Backport recent changes from mainline.
[libsigrok.git] / src / hardware / kern-scale / protocol.h
index ba4942ad6795d9a3efaa8c8d0b21371daca9207a..7566ea5b291e2b769fef89332108de07a572383e 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
  */
 
 #ifndef LIBSIGROK_HARDWARE_KERN_SCALE_PROTOCOL_H
@@ -32,8 +31,6 @@ struct scale_info {
        const char *device;
        /** serialconn string. */
        const char *conn;
-       /** Baud rate. */
-       uint32_t baudrate;
        /** Packet size in bytes. */
        int packet_size;
        /** Packet validation function. */
@@ -47,7 +44,6 @@ struct scale_info {
 
 #define SCALE_BUFSIZE 256
 
-/** Private, per-device-instance driver context. */
 struct dev_context {
        struct sr_sw_limits limits;