blob: d2d525d43f5879135ab71a882ebf799b7d09a419 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
brainz.cpp: In member function 'void Brainz::processTillAnswer()':
brainz.cpp:140:24: error: cannot convert 'bool' to 'bool*' in assignment
Outputs[i].output = false;
--- src/brainz/brainz.cpp.orig 2017-07-28 12:12:16 UTC
+++ src/brainz/brainz.cpp
@@ -137,7 +137,7 @@ Brainz::Brainz()
// clear Motor Outputs
for ( unsigned int i=0; i < numberOfOutputs; i++ )
- Outputs[i].output = false;
+ *Outputs[i].output = false;
// clear Neurons
for ( unsigned int i=0; i < totalNeurons; i++ )
|