This commit is contained in:
kraus 2018-05-10 20:53:32 +02:00
parent 202620aff5
commit 4611f85338
1 changed files with 3 additions and 3 deletions

View File

@ -296,12 +296,12 @@ static void pg_exec(pg_struct *pg, u8g2_t *u8g2)
/*===========================================*/
/* API procedures */
void pg_ClearPolygonXY(pg_struct *pg)
static void pg_ClearPolygonXY(pg_struct *pg)
{
pg->cnt = 0;
}
void pg_AddPolygonXY(pg_struct *pg, int16_t x, int16_t y)
static void pg_AddPolygonXY(pg_struct *pg, int16_t x, int16_t y)
{
if ( pg->cnt < PG_MAX_POINTS )
{
@ -311,7 +311,7 @@ void pg_AddPolygonXY(pg_struct *pg, int16_t x, int16_t y)
}
}
void pg_DrawPolygon(pg_struct *pg, u8g2_t *u8g2)
static void pg_DrawPolygon(pg_struct *pg, u8g2_t *u8g2)
{
if ( pg_prepare(pg) == 0 )
return;