From a26a89eac083d186da26836176170cfd1724ac01 Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Fri, 24 Nov 2017 11:08:02 +0100 Subject: [PATCH] fix radiotext for armbox Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/c42b86ec000cb56b6c57378da489a5bd785d5fb2 Author: Jacek Jendrzej Date: 2017-11-24 (Fri, 24 Nov 2017) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/driver/radiotext.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/driver/radiotext.cpp b/src/driver/radiotext.cpp index 0412fc648..2079481f6 100644 --- a/src/driver/radiotext.cpp +++ b/src/driver/radiotext.cpp @@ -2376,7 +2376,7 @@ void CRadioText::run() uint current_pid = 0; printf("CRadioText::run: ###################### Starting thread ######################\n"); -#if HAVE_SPARK_HARDWARE || HAVE_GENERIC_HARDWARE +#if HAVE_SPARK_HARDWARE || HAVE_GENERIC_HARDWARE || HAVE_ARM_HARDWARE int buflen = 0; unsigned char *buf = NULL; audioDemux = new cDemux(0); // live demux @@ -2407,7 +2407,7 @@ void CRadioText::run() } mutex.unlock(); if (pid) { -#if HAVE_SPARK_HARDWARE || HAVE_GENERIC_HARDWARE +#if HAVE_SPARK_HARDWARE || HAVE_GENERIC_HARDWARE || HAVE_ARM_HARDWARE int n; unsigned char tmp[6]; @@ -2450,7 +2450,7 @@ void CRadioText::run() } } } -#if HAVE_SPARK_HARDWARE || HAVE_GENERIC_HARDWARE +#if HAVE_SPARK_HARDWARE || HAVE_GENERIC_HARDWARE || HAVE_ARM_HARDWARE if (buf) free(buf); #endif