Add analog clockface display, command dana <hour> <minute> <day#>
[metawatch.git] / metawatch.c
index e487e35..e093168 100644 (file)
@@ -90,6 +90,7 @@ int mw_send_frame(mwdevice_t *mwdevice, unsigned char msg_type, unsigned char op
        while (((ret = write(mwdevice->mw_fd, frame, tlen)) >= 0) && (tlen > 0))
                tlen -= ret;
 
+       fsync(mwdevice->mw_fd);
        if (MW_FRAME_DELAY)
                usleep(MW_FRAME_DELAY);