mirror of
https://github.com/ttrftech/NanoVNA.git
synced 2026-04-07 07:24:05 +00:00
feat: fasten drawing by inlining circle_inout
This commit is contained in:
parent
3f209e4986
commit
08a2f6972d
1 changed files with 1 additions and 1 deletions
2
plot.c
2
plot.c
|
|
@ -91,7 +91,7 @@ void update_grid(void)
|
|||
redraw_request |= REDRAW_FREQUENCY;
|
||||
}
|
||||
|
||||
int
|
||||
static inline int
|
||||
circle_inout(int x, int y, int r)
|
||||
{
|
||||
int d = x*x + y*y - r*r;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue