UART commands work

This commit is contained in:
StefansE
2026-03-27 19:40:53 +01:00
parent ba8855eb21
commit e6e97f0412
10 changed files with 267 additions and 11 deletions

View File

@@ -296,9 +296,10 @@ void ds1307_update(ds1307_dev_t *ds1307_dev){
}
val = ds1307_get_minutes();
if(val != 255){
ds1307_dev->minutes = val;
}
if(val != 255){
ds1307_dev->minutes = val;
}
ds1307_dev->hours = ds1307_get_hour();
ds1307_dev->day = ds1307_get_day();
ds1307_dev->date = ds1307_get_date();