changed decode build macro definition
This commit is contained in:
@@ -3,8 +3,9 @@ cmake_minimum_required(VERSION 3.2)
|
|||||||
########################################################
|
########################################################
|
||||||
project(irda_decoder)
|
project(irda_decoder)
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
|
||||||
add_definitions(-DBOARD_PC -DDEBUG)
|
add_definitions(-DBOARD_PC)
|
||||||
# add_definitions(-DBOARD_PC -DBOARD_PC_JNI -DDEBUG)
|
# add_definitions(-DBOARD_PC -DBOARD_PC_JNI)
|
||||||
|
# add_definitions(-DDEBUG)
|
||||||
|
|
||||||
IF (CMAKE_SYSTEM_NAME MATCHES "Linux")
|
IF (CMAKE_SYSTEM_NAME MATCHES "Linux")
|
||||||
MESSAGE("compile platform : Linux")
|
MESSAGE("compile platform : Linux")
|
||||||
|
|||||||
@@ -164,8 +164,7 @@ INT8 decode_as_ac(char *file_name)
|
|||||||
ac_status.ac_temp,
|
ac_status.ac_temp,
|
||||||
ac_status.ac_wind_speed,
|
ac_status.ac_wind_speed,
|
||||||
ac_status.ac_wind_dir,
|
ac_status.ac_wind_dir,
|
||||||
function_code
|
function_code);
|
||||||
);
|
|
||||||
|
|
||||||
ir_decode(function_code, user_data, &ac_status, TRUE);
|
ir_decode(function_code, user_data, &ac_status, TRUE);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user