]> sigrok.org Git - libsigrok.git/blobdiff - src/output/binary.c
uni-t-ut181a: silence compiler warning, use of uninitialized variable
[libsigrok.git] / src / output / binary.c
index 10f0409feeb807bc9d3a50e93b6f48c2691935b5..7c8fa105e80eb7819d58dae990b785017eac304b 100644 (file)
  * 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/>.
  */
 
+#include <config.h>
 #include <stdlib.h>
 #include <string.h>
 #include <glib.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "output/binary"
@@ -45,7 +45,9 @@ static int receive(const struct sr_output *o, const struct sr_datafeed_packet *p
 SR_PRIV struct sr_output_module output_binary = {
        .id = "binary",
        .name = "Binary",
-       .desc = "Raw binary",
+       .desc = "Raw binary logic data",
+       .exts = NULL,
+       .flags = 0,
        .options = NULL,
        .receive = receive,
 };