Skip to content

Commit

Permalink
And in the other file. Should work for n < 100.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rhialto committed May 14, 2017
1 parent 22e336c commit b60c1e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dvrpxx.c
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,8 @@ rp_conf(FILE *f, char *s, struct rpdev *rp)
rp->rp_iswrite = TRUE;
partyp(rp, DVRP_DEFAULT_DISK); /* Default disk config */
RPREG(rp, RHR_SN) = /* Serial Number register (BCD) */
(((1 / 1000)%10) << 12)
| (((6 / 100)%10) << 8)
(((1600 / 1000)%10) << 12)
| (((1600 / 100)%10) << 8)
| (((nrps / 10)%10) << 4)
| (((nrps )%10) );
rp->rp_bufsec = 4; /* # sectors in buffer */
Expand Down

0 comments on commit b60c1e8

Please sign in to comment.