Fixed issues from latest commits
This commit is contained in:
parent
29b37d91c1
commit
33e3949af6
@ -24,10 +24,11 @@ namespace LinearAlgebra {
|
||||
horizontal = 0;
|
||||
vertical = 0;
|
||||
}
|
||||
// public Direction(Angle horizontal, Angle vertical) {
|
||||
// this.horizontal = horizontal.inDegrees;
|
||||
public Direction(Angle horizontal, Angle vertical) {
|
||||
this.horizontal = horizontal.inDegrees;
|
||||
this.vertical = vertical.inDegrees;
|
||||
}
|
||||
|
||||
// }
|
||||
// public Direction(float horizontal, float vertical) {
|
||||
// this.horizontal = horizontal;
|
||||
// this.vertical = vertical;
|
||||
|
@ -70,7 +70,7 @@ namespace RoboidControl {
|
||||
touchUpdated = false;
|
||||
return bytes;
|
||||
#else
|
||||
return 0;
|
||||
return Array.Empty<byte>();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user