diff packages/hal/powerpc/cogent/current/src/hal_diag.c @ 76:435cced73e2f ecos-v1_3_1-release

eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
author jlarmour
date Tue, 28 Mar 2000 14:10:45 +0000
parents c5536bad4c24
children 2085233a121a
line wrap: on
line diff
--- a/packages/hal/powerpc/cogent/current/src/hal_diag.c
+++ b/packages/hal/powerpc/cogent/current/src/hal_diag.c
@@ -353,7 +353,7 @@ void hal_diag_write_char(char c)
     // ignore CR
     if( c == '\r' ) return;
     
-    HAL_DISABLE_INTERRUPTS(__state)
+    HAL_DISABLE_INTERRUPTS(__state);
     if( c == '\n' )
     {
         lcd_dis( LCD_LINE0, &lcd_line[lcd_curline^1][0] );
@@ -436,7 +436,7 @@ static void ai_write_char(cyg_uint8 data
     int i;
     unsigned long __state;
     
-    HAL_DISABLE_INTERRUPTS(__state)
+    HAL_DISABLE_INTERRUPTS(__state);
 
     // Wait for tda == 0
     while( (AI->status & PROMICE_STATUS_TDA) == PROMICE_STATUS_TDA )