another trivial change to a comment; fixed a typo.

pull/932/head
Rohit Grover 2015-03-16 12:55:10 +00:00
parent ea4537df7d
commit b20dc8e4d4
1 changed files with 2 additions and 2 deletions

View File

@ -204,8 +204,8 @@ void us_ticker_set_interrupt(timestamp_t timestamp)
/* /*
* The argument to this function is a 32-bit microsecond timestamp for when * The argument to this function is a 32-bit microsecond timestamp for when
* a callback should be invoked. On the nRF51, we use an RTC timer running * a callback should be invoked. On the nRF51, we use an RTC timer running
* at 32kHz to implement a low-power us-ticker. This brings with a problem * at 32kHz to implement a low-power us-ticker. This results in a problem
* that's rooted in the fact that 1000000 is not a multiple of 32768. * based on the fact that 1000000 is not a multiple of 32768.
* *
* Going from a micro-second based timestamp to a 32kHz based RTC-time is a * Going from a micro-second based timestamp to a 32kHz based RTC-time is a
* linear mapping; but this mapping doesn't preserve wraparounds--i.e. when * linear mapping; but this mapping doesn't preserve wraparounds--i.e. when