Update cubesatsim.ino

pull/152/head
alanbjohnston 4 years ago committed by GitHub
parent c3581864e2
commit 6626cbb6a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1577,7 +1577,7 @@ int upper_digit(int number) {
void print_string(char *string) void print_string(char *string)
{ {
int count = 0; int count = 0;
while ((count < 250) && (string[count] != NULL)) while ((count < 250) && (string[count] != 0))
{ {
Serial.print(string[count++]); Serial.print(string[count++]);
} }

Loading…
Cancel
Save

Powered by TurnKey Linux.