timer_delayTicks(): Re-enable check for interrupts to be enabled wheen sleeping.
[bertos.git] / bertos / drv / ser.h
index 0acf4b811d9d2804b096799fabb2511e21ce7158..a09aa8b52d241c1182997bbdd0eb9f503aee2870 100644 (file)
@@ -162,7 +162,7 @@ typedef struct Serial
 #define KFT_SERIAL MAKE_ID('S', 'E', 'R', 'L')
 
 
-INLINE Serial * SERIALKFILE(KFile *fd)
+INLINE Serial * SERIAL_CAST(KFile *fd)
 {
        ASSERT(fd->_type == KFT_SERIAL);
        return (Serial *)fd;