bitbake: Fix for pthreads C test w/yocto

Fixed a problem where the C/CXX compile flags were getting
overwritten.  Fixed warnings in a few sensor drivers.

This commit fixes #485

Signed-off-by: Noel Eck <noel.eck@intel.com>
This commit is contained in:
Noel Eck
2016-11-08 16:26:16 -08:00
parent 54771e63c1
commit cdc33ceb9f
4 changed files with 6 additions and 5 deletions

View File

@ -493,7 +493,7 @@ uint8_t WT5001::getPlayState()
bool WT5001::getNumFiles(WT5001_PLAYSOURCE_T psrc, uint16_t *numf)
{
char pkt[4];
WT5001_OPCODE_T opcode;
WT5001_OPCODE_T opcode = NONE;
pkt[0] = WT5001_START;
pkt[1] = 0x02; // length