From 1e66ff0724d9363f04a88528f3c5703d39317413 Mon Sep 17 00:00:00 2001 From: Dan White Date: Sat, 13 Apr 2013 12:51:38 -0500 Subject: [PATCH] fixup msp4th on PC testing --- msp4th/ns430.h | 4 ++-- msp4th/test4th.c | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/msp4th/ns430.h b/msp4th/ns430.h index 6300546..48384fd 100644 --- a/msp4th/ns430.h +++ b/msp4th/ns430.h @@ -3,8 +3,8 @@ typedef unsigned char uint8_t; typedef signed char int8_t; -typedef unsigned int uint16_t; -typedef signed int int16_t; +typedef unsigned short uint16_t; +typedef signed short int16_t; typedef __attribute__((aligned (2))) uint8_t str_t; diff --git a/msp4th/test4th.c b/msp4th/test4th.c index 7a2cebe..ba8a5f9 100644 --- a/msp4th/test4th.c +++ b/msp4th/test4th.c @@ -1,5 +1,6 @@ +#include "ns430.h" #include "msp4th.h" -- 2.25.1