This commit is contained in:
Wolfgang Hottgenroth 2024-04-15 17:00:59 +02:00
parent 3eed2e30eb
commit 0c4533bfac
Signed by: wn
GPG Key ID: 836E9E1192A6B132

View File

@ -1,3 +1,4 @@
#include <stdint.h>
#include <msp430g2553.h>
#include "spi.h"
#include "../game-ctrl/sound.h"
@ -8,7 +9,7 @@ volatile t_SoundCmd cmd;
void __attribute__ ((interrupt (USCIAB0RX_VECTOR))) receive() {
if (UC0IFG & UCB0RXIFG) {
// receive an octet
cmd = UCB0RXBUF
cmd = UCB0RXBUF;
}
}