]> git.karo-electronics.de Git - oswald.git/blobdiff - metawatch/bt_hci.c
Starting to get rid of borrowed code (LcdDisplay, Fonts), integrate
[oswald.git] / metawatch / bt_hci.c
index 265b00c839b9180627d0549ff775889e4d7608ca..38ffb7fc4b20cf38c203566f3a37f38706661f16 100644 (file)
@@ -232,6 +232,7 @@ void bt_hci_process_event_packet(unsigned char *packet)
 #endif
                        memmove(packet, (packet+2), 6);
                        packet[6] = 0x04; // PIN has length of 4
+                       memcpy((packet+7), BT_PIN, 4);
                        packet[7] = '4';
                        packet[8] = '3';
                        packet[9] = '1';