summaryrefslogtreecommitdiff
path: root/twn3_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'twn3_test.c')
-rw-r--r--twn3_test.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/twn3_test.c b/twn3_test.c
index cb4fb3a..ca10574 100644
--- a/twn3_test.c
+++ b/twn3_test.c
@@ -10,7 +10,6 @@
int main(int argc, char** argv){
char data[1024];
- ssize_t bytes;
unsigned u;
int device = twn3_open("/dev/ttyACM0");
@@ -37,7 +36,10 @@ int main(int argc, char** argv){
twn3_sync_write_eeprom(device, 0, 19, 0xAA);
//set ExtendID bit
- twn3_sync_write_eeprom(device, 0, 5, 0x05);
+ //twn3_sync_write_eeprom(device, 0, 5, 0x05);
+
+ //restart device
+ //twn3_sync_restart(device, 0);
//store a key
uint8_t key[] = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF};