diff options
author | Attila Veghelyi <works@veghelyiattila.hu> | 2024-01-30 19:24:17 +0100 |
---|---|---|
committer | Attila Veghelyi <works@veghelyiattila.hu> | 2024-01-30 20:20:09 +0100 |
commit | 5df9421eb28836e72d112da635fdabbc59ad7185 (patch) | |
tree | 2620ae1d9f380a50ecede399b3387a93b0c09763 /progP16.c | |
parent | 816b38e07651bfd64acdc53523b92791848ce5f0 (diff) | |
download | OpenProgrammer-5df9421eb28836e72d112da635fdabbc59ad7185.tar.gz OpenProgrammer-5df9421eb28836e72d112da635fdabbc59ad7185.zip |
Follow version 0.12.2
Diffstat (limited to 'progP16.c')
-rw-r--r-- | progP16.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,6 +1,6 @@ /** * \file progP16.c - algorithms to program the PIC16 (14 bit word) family of microcontrollers - * Copyright (C) 2009-2022 Alberto Maccioni + * Copyright (C) 2009-2023 Alberto Maccioni * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -1146,7 +1146,7 @@ void Read16F18xxx(int dim,int dim2,int dim3,int options) PrintMessage(strings[S_noV33reg]); //Can't find 3.3V expansion board return; } - char s[256],t[256],*aux; + char s[256],t[256]; if(dim>0x8000||dim<0){ PrintMessage(strings[S_CodeLim]); //"Code size exceeds limits\r\n" return; @@ -6280,7 +6280,7 @@ void Write16F18xxx(int dim,int dim2,int options) PrintStatusSetup(); if(saveLog) fprintf(logfile,"%s\n",strings[S_StartCodeProg]); fflush(logfile); - int valid,inc; + int valid; for(;dim>0&&memCODE_W[dim-1]>=0x3fff;dim--); //skip empty space at end if(dim%rowN) dim+=rowN-dim%rowN; //grow to 32 word multiple for(i=k=0,j=0;i<dim;i+=rowN){ |