summaryrefslogtreecommitdiff
path: root/include/arch
diff options
context:
space:
mode:
Diffstat (limited to 'include/arch')
-rw-r--r--include/arch/msp430fr5969lp/driver/dmx1.h (renamed from include/arch/msp430fr5969lp/driver/dmx.h)11
-rw-r--r--include/arch/msp430fr5969lp/driver/stdin.h2
2 files changed, 7 insertions, 6 deletions
diff --git a/include/arch/msp430fr5969lp/driver/dmx.h b/include/arch/msp430fr5969lp/driver/dmx1.h
index d3fff46..2f738b8 100644
--- a/include/arch/msp430fr5969lp/driver/dmx.h
+++ b/include/arch/msp430fr5969lp/driver/dmx1.h
@@ -4,17 +4,18 @@
* SPDX-License-Identifier: BSD-2-Clause
*/
-class DMX {
+class DMX1 {
private:
- DMX(const DMX &copy);
+ DMX1(const DMX1 &copy);
public:
- unsigned char frames[16];
+ static unsigned char const num_frames = 32;
+ unsigned char frames[num_frames];
- DMX() {}
+ DMX1() {}
void setup();
void write();
};
-extern DMX dmx;
+extern DMX1 dmx1;
diff --git a/include/arch/msp430fr5969lp/driver/stdin.h b/include/arch/msp430fr5969lp/driver/stdin.h
index 34d0551..9076baa 100644
--- a/include/arch/msp430fr5969lp/driver/stdin.h
+++ b/include/arch/msp430fr5969lp/driver/stdin.h
@@ -9,7 +9,7 @@
class StandardInput {
private:
StandardInput(const StandardInput &copy);
- static unsigned char const bufsize = 16;
+ static unsigned char const bufsize = 32;
char buffer[bufsize];
volatile unsigned char write_pos;
unsigned char read_pos;