summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/codecs/libalac/alac.c4
-rw-r--r--apps/codecs/libmusepack/synth_filter.c2
-rw-r--r--apps/menus/display_menu.c2
-rw-r--r--apps/mpeg.c2
-rw-r--r--apps/plugins/goban/display.c2
-rw-r--r--apps/screens.c2
-rw-r--r--firmware/drivers/generic_i2c.c4
-rw-r--r--firmware/drivers/lcd-1bit-vert.c2
-rw-r--r--firmware/drivers/lcd-2bit-horz.c2
-rw-r--r--firmware/target/arm/usb-tcc.c2
-rw-r--r--firmware/test/i2c/main.c2
-rw-r--r--utils/AMS/hacking/amsinfo.c2
12 files changed, 14 insertions, 14 deletions
diff --git a/apps/codecs/libalac/alac.c b/apps/codecs/libalac/alac.c
index d747caeea7..112ad20bad 100644
--- a/apps/codecs/libalac/alac.c
+++ b/apps/codecs/libalac/alac.c
@@ -449,7 +449,7 @@ static void predictor_decompress_fir_adapt(int32_t *error_buffer,
predictor_coef_table[predictor_num]++;
val=-val;
} else {
- predictor_coef_table[predictor_num]--;;
+ predictor_coef_table[predictor_num]--;
}
error_val -= ((val >> predictor_quantitization) * (4 - predictor_num));
}
@@ -522,7 +522,7 @@ static void predictor_decompress_fir_adapt(int32_t *error_buffer,
predictor_coef_table[predictor_num]++;
val=-val;
} else {
- predictor_coef_table[predictor_num]--;;
+ predictor_coef_table[predictor_num]--;
}
error_val -= ((val >> predictor_quantitization) * (8 - predictor_num));
}
diff --git a/apps/codecs/libmusepack/synth_filter.c b/apps/codecs/libmusepack/synth_filter.c
index fb956fbff4..d8196eb40f 100644
--- a/apps/codecs/libmusepack/synth_filter.c
+++ b/apps/codecs/libmusepack/synth_filter.c
@@ -234,7 +234,7 @@ mpc_calculate_new_V ( const MPC_SAMPLE_FORMAT * Sample, MPC_SAMPLE_FORMAT * V )
B[ 4] = A[ 4] + A[11];
B[ 5] = A[ 5] + A[10];
B[ 6] = A[ 6] + A[ 9];
- B[ 7] = A[ 7] + A[ 8];;
+ B[ 7] = A[ 7] + A[ 8];
B[ 8] = MPC_MULTIPLY_V((A[ 0] - A[15]), INVCOS02);
B[ 9] = MPC_MULTIPLY_V((A[ 1] - A[14]), INVCOS06);
B[10] = MPC_MULTIPLY_V((A[ 2] - A[13]), INVCOS10);
diff --git a/apps/menus/display_menu.c b/apps/menus/display_menu.c
index d70cf37687..b1d3495ff2 100644
--- a/apps/menus/display_menu.c
+++ b/apps/menus/display_menu.c
@@ -452,7 +452,7 @@ static int peak_meter_max(void) {
/* for dBfs scale */
int range_min = -global_settings.peak_meter_min;
- int max = -global_settings.peak_meter_max;;
+ int max = -global_settings.peak_meter_max;
retval = set_int(str(LANG_PM_MAX), str(LANG_PM_DBFS), UNIT_DB,
&max, NULL, 1, range_min, 0, NULL);
diff --git a/apps/mpeg.c b/apps/mpeg.c
index dcccb98d17..cde72ab54f 100644
--- a/apps/mpeg.c
+++ b/apps/mpeg.c
@@ -2554,7 +2554,7 @@ unsigned long audio_num_recorded_bytes(void)
if(num_bytes < 0)
num_bytes += audiobuflen;
- return num_bytes;;
+ return num_bytes;
}
else
return num_rec_bytes;
diff --git a/apps/plugins/goban/display.c b/apps/plugins/goban/display.c
index 55ea0d6a4a..8c18039759 100644
--- a/apps/plugins/goban/display.c
+++ b/apps/plugins/goban/display.c
@@ -899,7 +899,7 @@ setup_display (void)
if (board_height >= 7)
{
- start_y = 3;;
+ start_y = 3;
}
else
{
diff --git a/apps/screens.c b/apps/screens.c
index 8a787a5ca1..c327e65037 100644
--- a/apps/screens.c
+++ b/apps/screens.c
@@ -537,7 +537,7 @@ bool set_time_screen(const char* title, struct tm *tm)
{
if(i==3) /* second row */
{
- j = weekday_width + separator_width;;
+ j = weekday_width + separator_width;
prev_line_height *= 2;
}
screens[s].getstringsize(ptr[i], &width, NULL);
diff --git a/firmware/drivers/generic_i2c.c b/firmware/drivers/generic_i2c.c
index 206ded96fb..dd5312da6f 100644
--- a/firmware/drivers/generic_i2c.c
+++ b/firmware/drivers/generic_i2c.c
@@ -136,7 +136,7 @@ int i2c_write_data(int bus_index, int bus_address, int address,
{
int i;
int ret = 0;
- const struct i2c_interface *iface = i2c_if[bus_index];;
+ const struct i2c_interface *iface = i2c_if[bus_index];
i2c_start(iface);
if (!i2c_outb(iface, bus_address & 0xfe))
@@ -173,7 +173,7 @@ int i2c_read_data(int bus_index, int bus_address, int address,
{
int i;
int ret = 0;
- const struct i2c_interface *iface = i2c_if[bus_index];;
+ const struct i2c_interface *iface = i2c_if[bus_index];
if (address != -1)
{
diff --git a/firmware/drivers/lcd-1bit-vert.c b/firmware/drivers/lcd-1bit-vert.c
index 75d1e660c4..f8461e3cbd 100644
--- a/firmware/drivers/lcd-1bit-vert.c
+++ b/firmware/drivers/lcd-1bit-vert.c
@@ -832,7 +832,7 @@ void LCDFN(puts_scroll_style_offset)(int x, int y, const unsigned char *string,
s->y = y;
s->len = utf8length(string);
s->offset = offset;
- s->startx = x * s->width / s->len;;
+ s->startx = x * s->width / s->len;
s->backward = false;
LCDFN(scroll_info).lines++;
diff --git a/firmware/drivers/lcd-2bit-horz.c b/firmware/drivers/lcd-2bit-horz.c
index 0328f9cd5f..a9a691cabd 100644
--- a/firmware/drivers/lcd-2bit-horz.c
+++ b/firmware/drivers/lcd-2bit-horz.c
@@ -1019,7 +1019,7 @@ void lcd_puts_scroll_style_offset(int x, int y, const unsigned char *string,
s->y = y;
s->len = utf8length((char *)string);
s->offset = offset;
- s->startx = x * s->width / s->len;;
+ s->startx = x * s->width / s->len;
s->backward = false;
lcd_scroll_info.lines++;
}
diff --git a/firmware/target/arm/usb-tcc.c b/firmware/target/arm/usb-tcc.c
index 345f6bed78..aa4c2e4226 100644
--- a/firmware/target/arm/usb-tcc.c
+++ b/firmware/target/arm/usb-tcc.c
@@ -546,7 +546,7 @@ int usb_drv_send(int endpoint, void *ptr, int length)
{
int flags = disable_irq_save();
int rc = 0;
- char *data = (unsigned char*) ptr;;
+ char *data = (unsigned char*) ptr;
DEBUG(2, "%s(%d,%d)" , __func__, endpoint, length);
diff --git a/firmware/test/i2c/main.c b/firmware/test/i2c/main.c
index f2d1101aef..f4540e4959 100644
--- a/firmware/test/i2c/main.c
+++ b/firmware/test/i2c/main.c
@@ -1134,7 +1134,7 @@ void mpeg_thread(void)
filling = false;
- break;;
+ break;
}
diff --git a/utils/AMS/hacking/amsinfo.c b/utils/AMS/hacking/amsinfo.c
index 0ebfb94caf..1aed9db075 100644
--- a/utils/AMS/hacking/amsinfo.c
+++ b/utils/AMS/hacking/amsinfo.c
@@ -74,7 +74,7 @@ static int calc_checksum(unsigned char* buf, int n)
static void dump_header(unsigned char* buf, int i)
{
printf("0x%08x:\n",i);
- printf(" HEADER: 0x%08x\n",i);;
+ printf(" HEADER: 0x%08x\n",i);
printf(" FirmwareHeaderIndex: 0x%08x\n",get_uint32le(&buf[i]));
printf(" FirmwareChecksum: 0x%08x\n",get_uint32le(&buf[i+0x04]));
printf(" CodeBlockSizeMultiplier: 0x%08x\n",get_uint32le(&buf[i+0x08]));