As Peter says, he assumed the sun was at rest in an inertial frame. It is a reasonable assumption, especially in 1728, but is now known to be false because of GR. One of the issues here is Newtonian Physics has undergone constant refinement since Newtons time. Newton used the concept of absolute space and time:
https://en.wikipedia.org/wiki/Absolute_space_and_time
It is basically mystical nonsense, but that is from our modern viewpoint. Heaven knows what future physicists will think of what we now believe.
That is why I always recommend Landau - Mechanics. This details the modern view of Newtonian Mechanics that avoids the issues with Newtons rather vague ideas. It avoids the one-way speed of light issue by defining an inertial frame as isotopic, so the problem never arises. Usually, an inertial frame is defined as a frame that obeys Newton's first law. However, that definition leaves important issues open. You need to specify a simultaneity convention such as the Einstein Simultaneity convention, which, as shown by Eddington, is equivalent to slow clock transport. Landau avoids the issue because you know in sync procedure that uses two-way light travel, it has the same speed both ways. Still, it is defining your way out of problems - the issues remain. If you search this forum, you will find a series of posts that explain Classical Mechanics fundamental basis - it is Quantum Mechanics - but I leave that for your own investigation.
Thanks
Bill