Browse Source

[diodes] Fixed size for Transmit()

Dmitry Yu Okunev 3 years ago
parent
commit
1541f3bd45
1 changed files with 1 additions and 1 deletions
  1. 1 1
      diodes.c

+ 1 - 1
diodes.c

@@ -55,7 +55,7 @@ int main()
 		gen_cmd_setrgb(cmd[i++], 255, 1, 128);
 
 	/*
-	int r = blahblah_Transmit(&someWhere, (uint8_t *)cmd, BITS_PER_COLOR);
+	int r = blahblah_Transmit(&someWhere, (uint8_t *)cmd, sizeof(cmd));
 	if (r != HAL_OK) {
 		blink_alaRRM_leds();
 	}