Browse Source

Align Port to AVX vector size.

tags/v1.0.0
Andrew Belt 6 years ago
parent
commit
3418a3e37a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      include/engine/Port.hpp

+ 1
- 1
include/engine/Port.hpp View File

@@ -10,7 +10,7 @@ namespace engine {
static const int PORT_MAX_CHANNELS = 16;


struct Port {
struct alignas(32) Port {
/** Voltage of the port. */
union {
/** Unstable API. Use getVoltage() and setVoltage() instead. */


Loading…
Cancel
Save