Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 0b8a3e7 in mainline


Ignore:
Timestamp:
2012-03-30T13:44:15Z (10 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master
Children:
b3db669
Parents:
6b329749
Message:

RTC: Add some comments on top of rtc_time_get() and rtc_time_set() functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/time/rtc.c

    r6b329749 r0b8a3e7  
    9999}
    100100
     101/** Read the current time from the CMOS
     102 *
     103 * @param fun  The RTC function
     104 * @param t    Pointer to the time variable
     105 *
     106 * @return  EOK on success or a negative error code
     107 */
    101108static int
    102109rtc_time_get(ddf_fun_t *fun, time_t *t)
     
    105112}
    106113
     114/** Set the time in the RTC
     115 *
     116 * @param fun  The RTC function
     117 * @param t    The time value to set
     118 *
     119 * @return  EOK or a negative error code
     120 */
    107121static int
    108122rtc_time_set(ddf_fun_t *fun, time_t t)
Note: See TracChangeset for help on using the changeset viewer.