camera: fix misuse of assignation operator in if

pull/1/head
EmaMaker 2022-07-02 16:44:57 +02:00
parent 6bae0f4cdb
commit 8dcdd320ff
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ void DataSourceCameraConic ::readSensor() {
count = 0; count = 0;
} else if (value == endp) { } else if (value == endp) {
data_received = false; data_received = false;
if ((count = 4) && (start == true)) { if ((count == 4) && (start == true)) {
data_received = true; data_received = true;
true_xb = xb; true_xb = xb;