Changeset a408d5f in mainline
- Timestamp:
- 2012-04-03T18:42:36Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- fc7d28e
- Parents:
- eccdc9e2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/date/date.c
reccdc9e2 ra408d5f 98 98 } 99 99 100 printf("OPEN!\n");101 102 100 /* Now connect to the device */ 103 101 async_sess_t *sess = devman_device_connect(EXCHANGE_SERIALIZE, … … 108 106 } 109 107 110 printf("CONNECTED!\n");111 112 108 /* Read the current date */ 113 109 rc = clock_dev_time_get(sess, &t); … … 116 112 goto exit; 117 113 } 118 119 printf("SUCCESS!\n");120 fflush(stdout);121 114 122 115 printf("%d:%d:%d\n", t.tm_hour, t.tm_min, t.tm_sec);
Note:
See TracChangeset
for help on using the changeset viewer.