BobbyMi / libds1307

Automatically exported from code.google.com/p/libds1307
0 stars 0 forks source link

set DS1307_YR more than 12 #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. set DS1307_YR to be more than 13
2.
3.

What is the expected output? What do you see instead?
no year is set

What version of the product are you using? On what operating system?
latest

Please provide any additional information below.
Problem is on the line 137 of file DS1307.cpp in if clause that does not allow 
year to be more than 12, seems to be copy-pasted from month clause

Original issue reported on code.google.com by aleksei....@gmail.com on 13 Mar 2013 at 11:58

GoogleCodeExporter commented 9 years ago
Correct.  change it to 'v=99'
File attached.

Original comment by matt.jo...@gmail.com on 2 Apr 2013 at 12:54

Attachments: