-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
topic: codeRelated to content of the project itselfRelated to content of the project itselftype: imperfectionPerceived defect in any part of projectPerceived defect in any part of project
Description
Arduino_MCHPTouch/src/Arduino_MCHPTouch.cpp
Lines 47 to 56 in 387c9fb
| int QtouchClass::available() | |
| { | |
| // check if a measure is done | |
| if ((p_selfcap_measure_data->measurement_done_touch == 1u)) | |
| { | |
| p_selfcap_measure_data->measurement_done_touch == 0u; | |
| return 1; | |
| } | |
| return 0; | |
| } |
.pio\libdeps\mkrwifi1010\Arduino_MCHPTouch\src\Arduino_MCHPTouch.cpp: In member function 'int QtouchClass::available()':
.pio\libdeps\mkrwifi1010\Arduino_MCHPTouch\src\Arduino_MCHPTouch.cpp:49:52: warning: value computed is not used [-Wunused-value]
p_selfcap_measure_data->measurement_done_touch == 0u;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
Did you mean to do an assignment or a comparison here?
Metadata
Metadata
Assignees
Labels
topic: codeRelated to content of the project itselfRelated to content of the project itselftype: imperfectionPerceived defect in any part of projectPerceived defect in any part of project