Randomize flipper color

This commit is contained in:
Just Call Me Koko
2024-11-13 20:38:06 -05:00
parent 9b59b7f8c0
commit f94ddf84cb
2 changed files with 2 additions and 2 deletions

View File

@@ -32,7 +32,7 @@ void GpsInterface::begin() {
MicroNMEA::sendSentence(Serial2, "$PSTMSRR");
delay(1900);
delay(1000);
if (Serial2.available()) {
Serial.println("GPS Attached Successfully");

View File

@@ -150,7 +150,7 @@ extern "C" {
AdvData_Raw[i++] = 0x03; // Incomplete List of 16-bit Service UUIDs length
AdvData_Raw[i++] = 0x02; // Incomplete List of 16-bit Service UUIDs type
AdvData_Raw[i++] = 0x81; // Service UUID (part of hex dump)
AdvData_Raw[i++] = 0x80 + (rand() % 3) + 1; // Service UUID (part of hex dump)
AdvData_Raw[i++] = 0x30;
AdvData_Raw[i++] = 0x02; // TX Power level length