Skip to content

Commit

Permalink
adding docs to mention readRTC behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
siddacious committed Mar 27, 2020
1 parent 972bc1f commit 2fd8cfe
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions Adafruit_FONA.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -177,12 +177,14 @@ bool Adafruit_FONA::setBaudrate(uint16_t baud) {
/**
* @brief Read the Real Time Clock
*
* **NOTE** Currently this function **will only fill the 'year' variable**
*
* @param year pointer to a uint8_t to be set with year data
* @param month pointer to a uint8_t to be set with month data
* @param day pointer to a uint8_t to be set with day data
* @param hr pointer to a uint8_t to be set with hour data
* @param min pointer to a uint8_t to be set with minute data
* @param sec pointer to a uint8_t to be set with year data
* @param month pointer to a uint8_t to be set with month data **NOT WORKING**
* @param day pointer to a uint8_t to be set with day data **NOT WORKING**
* @param hr pointer to a uint8_t to be set with hour data **NOT WORKING**
* @param min pointer to a uint8_t to be set with minute data **NOT WORKING**
* @param sec pointer to a uint8_t to be set with year data **NOT WORKING**
* @return true: success, false: failure
*/
bool Adafruit_FONA::readRTC(uint8_t *year, uint8_t *month, uint8_t *day,
Expand Down

1 comment on commit 2fd8cfe

@OscarVanL
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you not just merge the changes on PR #76? There's lots of support in the comments and I just merged it into my library and it works great on my FONA 3G.

Please sign in to comment.