Skip to content

Commit d10230d

Browse files
Merge pull request #20 from jposada202020/solving_station_information
solving_station_info
2 parents 27b3509 + 95b406a commit d10230d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_si4713.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ def _set_rds_station(self, station):
454454
station_length = len(station)
455455
assert 0 <= station_length <= 96
456456
# Fire off each 4 byte update of the station value.
457-
for i in range(0, station_length, 4):
457+
for i in range(0, 8, 4):
458458
self._BUFFER[0] = _SI4710_CMD_TX_RDS_PS
459459
self._BUFFER[1] = i // 4
460460
self._BUFFER[2] = station[i] if i < station_length else 0x00

0 commit comments

Comments
 (0)