Refactor serial macro to the new name specs.
[bertos.git] / bertos / drv / ser.h
index 0acf4b811d9d2804b096799fabb2511e21ce7158..568725734c26a04338189c6b1d4e1aa3b4222754 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(KFile *fd)
 {
        ASSERT(fd->_type == KFT_SERIAL);
        return (Serial *)fd;