Fixed issues from latest commits

This commit is contained in:
Pascal Serrarens 2025-06-03 17:37:45 +02:00
parent 29b37d91c1
commit 33e3949af6
2 changed files with 5 additions and 4 deletions

View File

@ -24,10 +24,11 @@ namespace LinearAlgebra {
horizontal = 0; horizontal = 0;
vertical = 0; vertical = 0;
} }
// public Direction(Angle horizontal, Angle vertical) { public Direction(Angle horizontal, Angle vertical) {
// this.horizontal = horizontal.inDegrees; this.horizontal = horizontal.inDegrees;
this.vertical = vertical.inDegrees;
}
// }
// public Direction(float horizontal, float vertical) { // public Direction(float horizontal, float vertical) {
// this.horizontal = horizontal; // this.horizontal = horizontal;
// this.vertical = vertical; // this.vertical = vertical;

View File

@ -70,7 +70,7 @@ namespace RoboidControl {
touchUpdated = false; touchUpdated = false;
return bytes; return bytes;
#else #else
return 0; return Array.Empty<byte>();
#endif #endif
} }