X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=support%2Fregression%2Ftests%2Flonglit.c;h=ded0d15e5e86e4a18fae54829ef52ce892c6fddb;hb=b1a10c8ec5142594ec5698fa241d7433873ce710;hp=033a731400976946808566b1d33037ffff6e1cf4;hpb=541d83d9229c4cae95e807891dc56cceba4a5bd5;p=fw%2Fsdcc diff --git a/support/regression/tests/longlit.c b/support/regression/tests/longlit.c index 033a7314..ded0d15e 100644 --- a/support/regression/tests/longlit.c +++ b/support/regression/tests/longlit.c @@ -4,12 +4,14 @@ #include #define OSCILLATOR 11059200 -#define BAUD 19200 +#define BAUD 19200L #define T1_RELOAD_VALUE -(2*OSCILLATOR)/(32*12*BAUD) -unsigned char T1=T1_RELOAD_VALUE; +static unsigned char T1=T1_RELOAD_VALUE; -void test (void) { +void +testLongLit(void) +{ ASSERT(T1==0xfd); }