mirror of
https://github.com/avrdudes/avrdude.git
synced 2026-09-24 10:06:25 +03:00
Make static table const
This commit is contained in:
@@ -939,7 +939,7 @@ static int usbasp_spi_paged_write(const PROGRAMMER *pgm, const AVRPART *p, const
|
||||
}
|
||||
|
||||
/* The list of SCK frequencies in Hz supported by USBasp */
|
||||
static struct sckoptions_t usbaspSCKoptions[] = {
|
||||
static const struct sckoptions_t usbaspSCKoptions[] = {
|
||||
{ USBASP_ISP_SCK_3000, 3000000 },
|
||||
{ USBASP_ISP_SCK_1500, 1500000 },
|
||||
{ USBASP_ISP_SCK_750, 750000 },
|
||||
@@ -955,8 +955,6 @@ static struct sckoptions_t usbaspSCKoptions[] = {
|
||||
{ USBASP_ISP_SCK_0_5, 500 }
|
||||
};
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* Set sck period (in seconds)
|
||||
* Find next possible sck period and write it to the programmer.
|
||||
|
||||
Reference in New Issue
Block a user