minerids width param

This commit is contained in:
jl777
2017-01-27 17:19:07 +02:00
parent 0d1b1789cb
commit 780c9ff180
2 changed files with 5 additions and 5 deletions

View File

@@ -623,10 +623,10 @@ int8_t komodo_minerid(int32_t height)
return(-1);
}
int32_t komodo_minerids(uint8_t *minerids,int32_t height)
int32_t komodo_minerids(uint8_t *minerids,int32_t height,int32_t width)
{
int32_t i,n=0;
for (i=0; i<1000; i++,n++)
for (i=0; i<width; i++,n++)
{
if ( height-i <= 0 )
break;