Browse code

commented unused code/corrected

Louis authored on18/09/2018 23:28:35
Showing11 changed files
1 1
Binary files a/build/.wafpickle-linux2-34017217-98 and b/build/.wafpickle-linux2-34017217-98 differ
... ...
@@ -21,7 +21,7 @@ RESOURCES_JSON = [{u'type': u'bitmap', u'menuIcon': True, u'targetPlatforms': No
21 21
 SANDBOX = False
22 22
 SUPPORTED_PLATFORMS = ['basalt', 'aplite', 'diorite', 'emery', 'chalk']
23 23
 TARGET_PLATFORMS = ['diorite']
24
-TIMESTAMP = 1537305931
24
+TIMESTAMP = 1537306084
25 25
 USE_GROUPS = True
26 26
 VERBOSE = 0
27 27
 WEBPACK = '/home/louis/.pebble-sdk/SDKs/current/node_modules/.bin/webpack'
... ...
@@ -62,7 +62,7 @@ STLIB_MARKER = None
62 62
 STLIB_ST = '-l%s'
63 63
 SUPPORTED_PLATFORMS = ['basalt', 'aplite', 'diorite', 'emery', 'chalk']
64 64
 TARGET_PLATFORMS = ['diorite']
65
-TIMESTAMP = 1537305931
65
+TIMESTAMP = 1537306084
66 66
 USE_GROUPS = True
67 67
 VERBOSE = 0
68 68
 WEBPACK = '/home/louis/.pebble-sdk/SDKs/current/node_modules/.bin/webpack'
... ...
@@ -1,4 +1,4 @@
1
-# project  configured on Tue Sep 18 23:25:31 2018 by
1
+# project  configured on Tue Sep 18 23:28:04 2018 by
2 2
 # waf 1.7.11 (abi 98, python 2070fc1 on linux2)
3 3
 # using /home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/waf configure
4 4
 #
5 5
Binary files a/build/diorite/pebble-app.bin and b/build/diorite/pebble-app.bin differ
6 6
Binary files a/build/diorite/pebble-app.elf and b/build/diorite/pebble-app.elf differ
7 7
Binary files a/build/diorite/pebble-app.raw.bin and b/build/diorite/pebble-app.raw.bin differ
... ...
@@ -1239,7 +1239,7 @@ LOAD /home/louis/pebble-dev/pebble-sdk-4.5-linux64/arm-cs-tools/bin/../lib/gcc/a
1239 1239
  .note.gnu.build-id
1240 1240
                 0x0000000000000084       0x24 linker stubs
1241 1241
 
1242
-.text           0x00000000000000a8      0x63c
1242
+.text           0x00000000000000a8      0x654
1243 1243
  *(.text)
1244 1244
  .text          0x00000000000000a8       0x14 /home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/diorite/lib/libpebble.a(tmpnfft5Rpebble.o)
1245 1245
  *(.text.*)
... ...
@@ -1252,196 +1252,196 @@ LOAD /home/louis/pebble-dev/pebble-sdk-4.5-linux64/arm-cs-tools/bin/../lib/gcc/a
1252 1252
  .text.prv_save_settings
1253 1253
                 0x0000000000000114       0x10 src/c/main.c.9.o
1254 1254
  .text.comm_is_ready
1255
-                0x0000000000000124       0x30 src/c/main.c.9.o
1255
+                0x0000000000000124       0x18 src/c/main.c.9.o
1256 1256
                 0x0000000000000124                comm_is_ready
1257 1257
  .text.inbox_received_callback
1258
-                0x0000000000000154      0x174 src/c/main.c.9.o
1258
+                0x000000000000013c      0x174 src/c/main.c.9.o
1259 1259
  .text.startup.main
1260
-                0x00000000000002c8      0x180 src/c/main.c.9.o
1261
-                0x00000000000002c8                main
1260
+                0x00000000000002b0      0x180 src/c/main.c.9.o
1261
+                0x00000000000002b0                main
1262 1262
  .text.app_event_loop
1263
-                0x0000000000000448        0xc /home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/diorite/lib/libpebble.a(tmpnfft5Rpebble.o)
1264
-                0x0000000000000448                app_event_loop
1265
- .text.app_log  0x0000000000000454        0xc /home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/diorite/lib/libpebble.a(tmpnfft5Rpebble.o)
1266
-                0x0000000000000454                app_log
1263
+                0x0000000000000430        0xc /home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/diorite/lib/libpebble.a(tmpnfft5Rpebble.o)
1264
+                0x0000000000000430                app_event_loop
1265
+ .text.app_log  0x000000000000043c        0xc /home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/diorite/lib/libpebble.a(tmpnfft5Rpebble.o)
1266
+                0x000000000000043c                app_log
1267 1267
  .text.app_message_open
1268
-                0x0000000000000460        0xc /home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/diorite/lib/libpebble.a(tmpnfft5Rpebble.o)
1269
-                0x0000000000000460                app_message_open
1268
+                0x0000000000000448        0xc /home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/diorite/lib/libpebble.a(tmpnfft5Rpebble.o)
1269
+                0x0000000000000448                app_message_open
1270 1270
  .text.dict_find
1271
-                0x000000000000046c        0xc /home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/diorite/lib/libpebble.a(tmpnfft5Rpebble.o)
1272
-                0x000000000000046c                dict_find
1271
+                0x0000000000000454        0xc /home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/diorite/lib/libpebble.a(tmpnfft5Rpebble.o)
1272
+                0x0000000000000454                dict_find
1273 1273
  .text.fonts_get_system_font
1274
-                0x0000000000000478        0xc /home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/diorite/lib/libpebble.a(tmpnfft5Rpebble.o)
1275
-                0x0000000000000478                fonts_get_system_font
1274
+                0x0000000000000460        0xc /home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/diorite/lib/libpebble.a(tmpnfft5Rpebble.o)
1275
+                0x0000000000000460                fonts_get_system_font
1276 1276
  .text.gbitmap_create_with_resource
1277
-                0x0000000000000484        0xc /home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/diorite/lib/libpebble.a(tmpnfft5Rpebble.o)
1278
-                0x0000000000000484                gbitmap_create_with_resource
1277
+                0x000000000000046c        0xc /home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/diorite/lib/libpebble.a(tmpnfft5Rpebble.o)
1278
+                0x000000000000046c                gbitmap_create_with_resource
1279 1279
  .text.layer_add_child
1280
-                0x0000000000000490        0xc /home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/diorite/lib/libpebble.a(tmpnfft5Rpebble.o)
1281
-                0x0000000000000490                layer_add_child
1280
+                0x0000000000000478        0xc /home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/diorite/lib/libpebble.a(tmpnfft5Rpebble.o)
1281
+                0x0000000000000478                layer_add_child
1282 1282
  .text.layer_get_bounds
1283
-                0x000000000000049c        0xc /home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/diorite/lib/libpebble.a(tmpnfft5Rpebble.o)
1284
-                0x000000000000049c                layer_get_bounds
1285
- .text.strncpy  0x00000000000004a8        0xc /home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/diorite/lib/libpebble.a(tmpnfft5Rpebble.o)
1286
-                0x00000000000004a8                strncpy
1283
+                0x0000000000000484        0xc /home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/diorite/lib/libpebble.a(tmpnfft5Rpebble.o)
1284
+                0x0000000000000484                layer_get_bounds
1285
+ .text.strncpy  0x0000000000000490        0xc /home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/diorite/lib/libpebble.a(tmpnfft5Rpebble.o)
1286
+                0x0000000000000490                strncpy
1287 1287
  .text.window_create
1288
-                0x00000000000004b4        0xc /home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/diorite/lib/libpebble.a(tmpnfft5Rpebble.o)
1289
-                0x00000000000004b4                window_create
1288
+                0x000000000000049c        0xc /home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/diorite/lib/libpebble.a(tmpnfft5Rpebble.o)
1289
+                0x000000000000049c                window_create
1290 1290
  .text.window_destroy
1291
-                0x00000000000004c0        0xc /home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/diorite/lib/libpebble.a(tmpnfft5Rpebble.o)
1292
-                0x00000000000004c0                window_destroy
1291
+                0x00000000000004a8        0xc /home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/diorite/lib/libpebble.a(tmpnfft5Rpebble.o)
1292
+                0x00000000000004a8                window_destroy
1293 1293
  .text.window_get_root_layer
1294
-                0x00000000000004cc        0xc /home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/diorite/lib/libpebble.a(tmpnfft5Rpebble.o)
1295
-                0x00000000000004cc                window_get_root_layer
1294
+                0x00000000000004b4        0xc /home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/diorite/lib/libpebble.a(tmpnfft5Rpebble.o)
1295
+                0x00000000000004b4                window_get_root_layer
1296 1296
  .text.window_stack_push
1297
-                0x00000000000004d8        0xc /home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/diorite/lib/libpebble.a(tmpnfft5Rpebble.o)
1298
-                0x00000000000004d8                window_stack_push
1297
+                0x00000000000004c0        0xc /home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/diorite/lib/libpebble.a(tmpnfft5Rpebble.o)
1298
+                0x00000000000004c0                window_stack_push
1299 1299
  .text.app_message_register_inbox_dropped
1300
-                0x00000000000004e4        0xc /home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/diorite/lib/libpebble.a(tmpnfft5Rpebble.o)
1301
-                0x00000000000004e4                app_message_register_inbox_dropped
1300
+                0x00000000000004cc        0xc /home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/diorite/lib/libpebble.a(tmpnfft5Rpebble.o)
1301
+                0x00000000000004cc                app_message_register_inbox_dropped
1302 1302
  .text.app_message_register_inbox_received
1303
-                0x00000000000004f0        0xc /home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/diorite/lib/libpebble.a(tmpnfft5Rpebble.o)
1304
-                0x00000000000004f0                app_message_register_inbox_received
1303
+                0x00000000000004d8        0xc /home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/diorite/lib/libpebble.a(tmpnfft5Rpebble.o)
1304
+                0x00000000000004d8                app_message_register_inbox_received
1305 1305
  .text.app_message_register_outbox_failed
1306
-                0x00000000000004fc        0xc /home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/diorite/lib/libpebble.a(tmpnfft5Rpebble.o)
1307
-                0x00000000000004fc                app_message_register_outbox_failed
1306
+                0x00000000000004e4        0xc /home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/diorite/lib/libpebble.a(tmpnfft5Rpebble.o)
1307
+                0x00000000000004e4                app_message_register_outbox_failed
1308 1308
  .text.app_message_register_outbox_sent
1309
-                0x0000000000000508        0xc /home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/diorite/lib/libpebble.a(tmpnfft5Rpebble.o)
1310
-                0x0000000000000508                app_message_register_outbox_sent
1309
+                0x00000000000004f0        0xc /home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/diorite/lib/libpebble.a(tmpnfft5Rpebble.o)
1310
+                0x00000000000004f0                app_message_register_outbox_sent
1311 1311
  .text.persist_write_data
1312
-                0x0000000000000514        0xc /home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/diorite/lib/libpebble.a(tmpnfft5Rpebble.o)
1313
-                0x0000000000000514                persist_write_data
1312
+                0x00000000000004fc        0xc /home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/diorite/lib/libpebble.a(tmpnfft5Rpebble.o)
1313
+                0x00000000000004fc                persist_write_data
1314 1314
  .text.dict_size
1315
-                0x0000000000000520        0xc /home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/diorite/lib/libpebble.a(tmpnfft5Rpebble.o)
1316
-                0x0000000000000520                dict_size
1315
+                0x0000000000000508        0xc /home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/diorite/lib/libpebble.a(tmpnfft5Rpebble.o)
1316
+                0x0000000000000508                dict_size
1317 1317
  .text.action_bar_layer_add_to_window
1318
-                0x000000000000052c        0xc /home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/diorite/lib/libpebble.a(tmpnfft5Rpebble.o)
1319
-                0x000000000000052c                action_bar_layer_add_to_window
1318
+                0x0000000000000514        0xc /home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/diorite/lib/libpebble.a(tmpnfft5Rpebble.o)
1319
+                0x0000000000000514                action_bar_layer_add_to_window
1320 1320
  .text.action_bar_layer_create
1321
-                0x0000000000000538        0xc /home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/diorite/lib/libpebble.a(tmpnfft5Rpebble.o)
1322
-                0x0000000000000538                action_bar_layer_create
1321
+                0x0000000000000520        0xc /home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/diorite/lib/libpebble.a(tmpnfft5Rpebble.o)
1322
+                0x0000000000000520                action_bar_layer_create
1323 1323
  .text.action_bar_layer_destroy
1324
-                0x0000000000000544        0xc /home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/diorite/lib/libpebble.a(tmpnfft5Rpebble.o)
1325
-                0x0000000000000544                action_bar_layer_destroy
1324
+                0x000000000000052c        0xc /home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/diorite/lib/libpebble.a(tmpnfft5Rpebble.o)
1325
+                0x000000000000052c                action_bar_layer_destroy
1326 1326
  .text.action_bar_layer_set_icon
1327
-                0x0000000000000550        0xc /home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/diorite/lib/libpebble.a(tmpnfft5Rpebble.o)
1328
-                0x0000000000000550                action_bar_layer_set_icon
1327
+                0x0000000000000538        0xc /home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/diorite/lib/libpebble.a(tmpnfft5Rpebble.o)
1328
+                0x0000000000000538                action_bar_layer_set_icon
1329 1329
  .text.text_layer_create
1330
-                0x000000000000055c        0xc /home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/diorite/lib/libpebble.a(tmpnfft5Rpebble.o)
1331
-                0x000000000000055c                text_layer_create
1330
+                0x0000000000000544        0xc /home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/diorite/lib/libpebble.a(tmpnfft5Rpebble.o)
1331
+                0x0000000000000544                text_layer_create
1332 1332
  .text.text_layer_destroy
1333
-                0x0000000000000568        0xc /home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/diorite/lib/libpebble.a(tmpnfft5Rpebble.o)
1334
-                0x0000000000000568                text_layer_destroy
1333
+                0x0000000000000550        0xc /home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/diorite/lib/libpebble.a(tmpnfft5Rpebble.o)
1334
+                0x0000000000000550                text_layer_destroy
1335 1335
  .text.text_layer_get_layer
1336
-                0x0000000000000574        0xc /home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/diorite/lib/libpebble.a(tmpnfft5Rpebble.o)
1337
-                0x0000000000000574                text_layer_get_layer
1336
+                0x000000000000055c        0xc /home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/diorite/lib/libpebble.a(tmpnfft5Rpebble.o)
1337
+                0x000000000000055c                text_layer_get_layer
1338 1338
  .text.text_layer_set_font
1339
-                0x0000000000000580        0xc /home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/diorite/lib/libpebble.a(tmpnfft5Rpebble.o)
1340
-                0x0000000000000580                text_layer_set_font
1339
+                0x0000000000000568        0xc /home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/diorite/lib/libpebble.a(tmpnfft5Rpebble.o)
1340
+                0x0000000000000568                text_layer_set_font
1341 1341
  .text.text_layer_set_text
1342
-                0x000000000000058c        0xc /home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/diorite/lib/libpebble.a(tmpnfft5Rpebble.o)
1343
-                0x000000000000058c                text_layer_set_text
1342
+                0x0000000000000574        0xc /home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/diorite/lib/libpebble.a(tmpnfft5Rpebble.o)
1343
+                0x0000000000000574                text_layer_set_text
1344 1344
  .text.text_layer_set_text_alignment
1345
-                0x0000000000000598        0xc /home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/diorite/lib/libpebble.a(tmpnfft5Rpebble.o)
1346
-                0x0000000000000598                text_layer_set_text_alignment
1345
+                0x0000000000000580        0xc /home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/diorite/lib/libpebble.a(tmpnfft5Rpebble.o)
1346
+                0x0000000000000580                text_layer_set_text_alignment
1347 1347
  .text.grect_inset
1348
-                0x00000000000005a4        0xc /home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/diorite/lib/libpebble.a(tmpnfft5Rpebble.o)
1349
-                0x00000000000005a4                grect_inset
1348
+                0x000000000000058c        0xc /home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/diorite/lib/libpebble.a(tmpnfft5Rpebble.o)
1349
+                0x000000000000058c                grect_inset
1350 1350
  .text.text_layer_enable_screen_text_flow_and_paging
1351
-                0x00000000000005b0        0xc /home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/diorite/lib/libpebble.a(tmpnfft5Rpebble.o)
1352
-                0x00000000000005b0                text_layer_enable_screen_text_flow_and_paging
1351
+                0x0000000000000598        0xc /home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/diorite/lib/libpebble.a(tmpnfft5Rpebble.o)
1352
+                0x0000000000000598                text_layer_enable_screen_text_flow_and_paging
1353 1353
  *(.rodata)
1354 1354
  *(.rodata*)
1355 1355
  .rodata.label_insets.7603
1356
-                0x00000000000005bc        0x8 src/c/main.c.9.o
1356
+                0x00000000000005a4        0x8 src/c/main.c.9.o
1357 1357
  .rodata.str1.1
1358
-                0x00000000000005c4      0x120 src/c/main.c.9.o
1358
+                0x00000000000005ac      0x150 src/c/main.c.9.o
1359 1359
 
1360
-.glue_7         0x00000000000006e4        0x0
1360
+.glue_7         0x00000000000006fc        0x0
1361 1361
  .glue_7        0x0000000000000000        0x0 linker stubs
1362 1362
 
1363
-.glue_7t        0x00000000000006e4        0x0
1363
+.glue_7t        0x00000000000006fc        0x0
1364 1364
  .glue_7t       0x0000000000000000        0x0 linker stubs
1365 1365
 
1366
-.vfp11_veneer   0x00000000000006e4        0x0
1366
+.vfp11_veneer   0x00000000000006fc        0x0
1367 1367
  .vfp11_veneer  0x0000000000000000        0x0 linker stubs
1368 1368
 
1369
-.v4_bx          0x00000000000006e4        0x0
1369
+.v4_bx          0x00000000000006fc        0x0
1370 1370
  .v4_bx         0x0000000000000000        0x0 linker stubs
1371 1371
 
1372
-.iplt           0x00000000000006e4        0x0
1372
+.iplt           0x00000000000006fc        0x0
1373 1373
  .iplt          0x0000000000000000        0x0 /home/louis/pebble-dev/pebble-sdk-4.5-linux64/arm-cs-tools/bin/../lib/gcc/arm-none-eabi/4.7.2/thumb2/crtbegin.o
1374 1374
 
1375
-.rel.dyn        0x00000000000006e4        0x0
1375
+.rel.dyn        0x00000000000006fc        0x0
1376 1376
  .rel.iplt      0x0000000000000000        0x0 /home/louis/pebble-dev/pebble-sdk-4.5-linux64/arm-cs-tools/bin/../lib/gcc/arm-none-eabi/4.7.2/thumb2/crtbegin.o
1377 1377
  .rel.got       0x0000000000000000        0x0 /home/louis/pebble-dev/pebble-sdk-4.5-linux64/arm-cs-tools/bin/../lib/gcc/arm-none-eabi/4.7.2/thumb2/crtbegin.o
1378 1378
 
1379
-.data           0x00000000000006e4       0x18
1379
+.data           0x00000000000006fc       0x18
1380 1380
  *(.data)
1381
- .data          0x00000000000006e4        0x0 /home/louis/pebble-dev/pebble-sdk-4.5-linux64/arm-cs-tools/bin/../lib/gcc/arm-none-eabi/4.7.2/thumb2/crti.o
1382
- .data          0x00000000000006e4        0x4 /home/louis/pebble-dev/pebble-sdk-4.5-linux64/arm-cs-tools/bin/../lib/gcc/arm-none-eabi/4.7.2/thumb2/crtbegin.o
1383
-                0x00000000000006e4                __dso_handle
1384
- .data          0x00000000000006e8        0x0 src/c/main.c.9.o
1385
- .data          0x00000000000006e8        0x0 diorite/appinfo.auto.c.9.o
1386
- .data          0x00000000000006e8        0x0 diorite/src/resource_ids.auto.c.9.o
1387
- .data          0x00000000000006e8        0x0 src/message_keys.auto.c.9.o
1388
- .data          0x00000000000006e8        0x0 /home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/diorite/lib/libpebble.a(tmpnfft5Rpebble.o)
1389
- .data          0x00000000000006e8        0x0 /home/louis/pebble-dev/pebble-sdk-4.5-linux64/arm-cs-tools/bin/../lib/gcc/arm-none-eabi/4.7.2/thumb2/crtend.o
1390
- .data          0x00000000000006e8        0x0 /home/louis/pebble-dev/pebble-sdk-4.5-linux64/arm-cs-tools/bin/../lib/gcc/arm-none-eabi/4.7.2/thumb2/crtn.o
1381
+ .data          0x00000000000006fc        0x0 /home/louis/pebble-dev/pebble-sdk-4.5-linux64/arm-cs-tools/bin/../lib/gcc/arm-none-eabi/4.7.2/thumb2/crti.o
1382
+ .data          0x00000000000006fc        0x4 /home/louis/pebble-dev/pebble-sdk-4.5-linux64/arm-cs-tools/bin/../lib/gcc/arm-none-eabi/4.7.2/thumb2/crtbegin.o
1383
+                0x00000000000006fc                __dso_handle
1384
+ .data          0x0000000000000700        0x0 src/c/main.c.9.o
1385
+ .data          0x0000000000000700        0x0 diorite/appinfo.auto.c.9.o
1386
+ .data          0x0000000000000700        0x0 diorite/src/resource_ids.auto.c.9.o
1387
+ .data          0x0000000000000700        0x0 src/message_keys.auto.c.9.o
1388
+ .data          0x0000000000000700        0x0 /home/louis/.pebble-sdk/SDKs/current/sdk-core/pebble/diorite/lib/libpebble.a(tmpnfft5Rpebble.o)
1389
+ .data          0x0000000000000700        0x0 /home/louis/pebble-dev/pebble-sdk-4.5-linux64/arm-cs-tools/bin/../lib/gcc/arm-none-eabi/4.7.2/thumb2/crtend.o
1390
+ .data          0x0000000000000700        0x0 /home/louis/pebble-dev/pebble-sdk-4.5-linux64/arm-cs-tools/bin/../lib/gcc/arm-none-eabi/4.7.2/thumb2/crtn.o
1391 1391
  *(.data.*)
1392 1392
  .data.MESSAGE_KEY_status
1393
-                0x00000000000006e8        0x4 src/message_keys.auto.c.9.o
1394
-                0x00000000000006e8                MESSAGE_KEY_status
1393
+                0x0000000000000700        0x4 src/message_keys.auto.c.9.o
1394
+                0x0000000000000700                MESSAGE_KEY_status
1395 1395
  .data.MESSAGE_KEY_username
1396
-                0x00000000000006ec        0x4 src/message_keys.auto.c.9.o
1397
-                0x00000000000006ec                MESSAGE_KEY_username
1396
+                0x0000000000000704        0x4 src/message_keys.auto.c.9.o
1397
+                0x0000000000000704                MESSAGE_KEY_username
1398 1398
  .data.MESSAGE_KEY_JSReady
1399
-                0x00000000000006f0        0x4 src/message_keys.auto.c.9.o
1400
-                0x00000000000006f0                MESSAGE_KEY_JSReady
1399
+                0x0000000000000708        0x4 src/message_keys.auto.c.9.o
1400
+                0x0000000000000708                MESSAGE_KEY_JSReady
1401 1401
  .data.MESSAGE_KEY_server
1402
-                0x00000000000006f4        0x4 src/message_keys.auto.c.9.o
1403
-                0x00000000000006f4                MESSAGE_KEY_server
1402
+                0x000000000000070c        0x4 src/message_keys.auto.c.9.o
1403
+                0x000000000000070c                MESSAGE_KEY_server
1404 1404
  .data.MESSAGE_KEY_password
1405
-                0x00000000000006f8        0x4 src/message_keys.auto.c.9.o
1406
-                0x00000000000006f8                MESSAGE_KEY_password
1405
+                0x0000000000000710        0x4 src/message_keys.auto.c.9.o
1406
+                0x0000000000000710                MESSAGE_KEY_password
1407 1407
 
1408
-.igot.plt       0x00000000000006fc        0x0
1408
+.igot.plt       0x0000000000000714        0x0
1409 1409
  .igot.plt      0x0000000000000000        0x0 /home/louis/pebble-dev/pebble-sdk-4.5-linux64/arm-cs-tools/bin/../lib/gcc/arm-none-eabi/4.7.2/thumb2/crtbegin.o
1410 1410
 
1411
-.got            0x00000000000006fc       0x14
1412
- .got           0x00000000000006fc       0x14 /home/louis/pebble-dev/pebble-sdk-4.5-linux64/arm-cs-tools/bin/../lib/gcc/arm-none-eabi/4.7.2/thumb2/crtbegin.o
1411
+.got            0x0000000000000714       0x14
1412
+ .got           0x0000000000000714       0x14 /home/louis/pebble-dev/pebble-sdk-4.5-linux64/arm-cs-tools/bin/../lib/gcc/arm-none-eabi/4.7.2/thumb2/crtbegin.o
1413 1413
 
1414
-.got.plt        0x0000000000000710        0xc
1415
- .got.plt       0x0000000000000710        0xc /home/louis/pebble-dev/pebble-sdk-4.5-linux64/arm-cs-tools/bin/../lib/gcc/arm-none-eabi/4.7.2/thumb2/crtbegin.o
1416
-                0x0000000000000710                _GLOBAL_OFFSET_TABLE_
1414
+.got.plt        0x0000000000000728        0xc
1415
+ .got.plt       0x0000000000000728        0xc /home/louis/pebble-dev/pebble-sdk-4.5-linux64/arm-cs-tools/bin/../lib/gcc/arm-none-eabi/4.7.2/thumb2/crtbegin.o
1416
+                0x0000000000000728                _GLOBAL_OFFSET_TABLE_
1417 1417
 
1418
-.bss            0x000000000000071c      0x19c
1418
+.bss            0x0000000000000734      0x19c
1419 1419
  *(.bss)
1420 1420
  *(.bss.*)
1421
- .bss.s_api     0x000000000000071c       0x28 src/c/main.c.9.o
1421
+ .bss.s_api     0x0000000000000734       0x28 src/c/main.c.9.o
1422 1422
  .bss.s_text_layer
1423
-                0x0000000000000744        0x4 src/c/main.c.9.o
1423
+                0x000000000000075c        0x4 src/c/main.c.9.o
1424 1424
  .bss.s_q_mark_bitmap
1425
-                0x0000000000000748        0x4 src/c/main.c.9.o
1426
- .bss.settings  0x000000000000074c        0x3 src/c/main.c.9.o
1425
+                0x0000000000000760        0x4 src/c/main.c.9.o
1426
+ .bss.settings  0x0000000000000764        0x3 src/c/main.c.9.o
1427 1427
  .bss.s_username
1428
-                0x000000000000074f       0x28 src/c/main.c.9.o
1429
- *fill*         0x0000000000000777        0x1 
1428
+                0x0000000000000767       0x28 src/c/main.c.9.o
1429
+ *fill*         0x000000000000078f        0x1 
1430 1430
  .bss.s_h_off_bitmap
1431
-                0x0000000000000778        0x4 src/c/main.c.9.o
1431
+                0x0000000000000790        0x4 src/c/main.c.9.o
1432 1432
  .bss.s_password
1433
-                0x000000000000077c       0x28 src/c/main.c.9.o
1434
- .bss.s_window  0x00000000000007a4        0x4 src/c/main.c.9.o
1435
- .bss.size      0x00000000000007a8        0x4 src/c/main.c.9.o
1436
- .bss.s_server  0x00000000000007ac       0xff src/c/main.c.9.o
1437
- *fill*         0x00000000000008ab        0x1 
1433
+                0x0000000000000794       0x28 src/c/main.c.9.o
1434
+ .bss.s_window  0x00000000000007bc        0x4 src/c/main.c.9.o
1435
+ .bss.size      0x00000000000007c0        0x4 src/c/main.c.9.o
1436
+ .bss.s_server  0x00000000000007c4       0xff src/c/main.c.9.o
1437
+ *fill*         0x00000000000008c3        0x1 
1438 1438
  .bss.s_h_on_bitmap
1439
-                0x00000000000008ac        0x4 src/c/main.c.9.o
1439
+                0x00000000000008c4        0x4 src/c/main.c.9.o
1440 1440
  .bss.s_js_ready
1441
-                0x00000000000008b0        0x1 src/c/main.c.9.o
1442
- *fill*         0x00000000000008b1        0x3 
1441
+                0x00000000000008c8        0x1 src/c/main.c.9.o
1442
+ *fill*         0x00000000000008c9        0x3 
1443 1443
  .bss.s_action_bar_layer
1444
-                0x00000000000008b4        0x4 src/c/main.c.9.o
1444
+                0x00000000000008cc        0x4 src/c/main.c.9.o
1445 1445
 
1446 1446
 DISCARD
1447 1447
  libc.a(*)
... ...
@@ -1480,20 +1480,20 @@ OUTPUT(/home/louis/pebble-dev/projects/synocam_home_switch/build/diorite/pebble-
1480 1480
  .comment       0x0000000000000000       0x4f src/message_keys.auto.c.9.o
1481 1481
  .comment       0x0000000000000000       0x4f /home/louis/pebble-dev/pebble-sdk-4.5-linux64/arm-cs-tools/bin/../lib/gcc/arm-none-eabi/4.7.2/thumb2/crtend.o
1482 1482
 
1483
-.debug_info     0x0000000000000000     0x1593
1484
- .debug_info    0x0000000000000000     0x10ca src/c/main.c.9.o
1485
- .debug_info    0x00000000000010ca      0x349 diorite/appinfo.auto.c.9.o
1486
- .debug_info    0x0000000000001413       0xb7 diorite/src/resource_ids.auto.c.9.o
1487
- .debug_info    0x00000000000014ca       0xc9 src/message_keys.auto.c.9.o
1483
+.debug_info     0x0000000000000000     0x1570
1484
+ .debug_info    0x0000000000000000     0x10a7 src/c/main.c.9.o
1485
+ .debug_info    0x00000000000010a7      0x349 diorite/appinfo.auto.c.9.o
1486
+ .debug_info    0x00000000000013f0       0xb7 diorite/src/resource_ids.auto.c.9.o
1487
+ .debug_info    0x00000000000014a7       0xc9 src/message_keys.auto.c.9.o
1488 1488
 
1489
-.debug_abbrev   0x0000000000000000      0x463
1490
- .debug_abbrev  0x0000000000000000      0x33d src/c/main.c.9.o
1491
- .debug_abbrev  0x000000000000033d       0x9e diorite/appinfo.auto.c.9.o
1492
- .debug_abbrev  0x00000000000003db       0x44 diorite/src/resource_ids.auto.c.9.o
1493
- .debug_abbrev  0x000000000000041f       0x44 src/message_keys.auto.c.9.o
1489
+.debug_abbrev   0x0000000000000000      0x471
1490
+ .debug_abbrev  0x0000000000000000      0x34b src/c/main.c.9.o
1491
+ .debug_abbrev  0x000000000000034b       0x9e diorite/appinfo.auto.c.9.o
1492
+ .debug_abbrev  0x00000000000003e9       0x44 diorite/src/resource_ids.auto.c.9.o
1493
+ .debug_abbrev  0x000000000000042d       0x44 src/message_keys.auto.c.9.o
1494 1494
 
1495
-.debug_loc      0x0000000000000000      0x29c
1496
- .debug_loc     0x0000000000000000      0x29c src/c/main.c.9.o
1495
+.debug_loc      0x0000000000000000      0x27c
1496
+ .debug_loc     0x0000000000000000      0x27c src/c/main.c.9.o
1497 1497
 
1498 1498
 .debug_aranges  0x0000000000000000       0x98
1499 1499
  .debug_aranges
... ...
@@ -1508,11 +1508,11 @@ OUTPUT(/home/louis/pebble-dev/projects/synocam_home_switch/build/diorite/pebble-
1508 1508
 .debug_ranges   0x0000000000000000       0x70
1509 1509
  .debug_ranges  0x0000000000000000       0x70 src/c/main.c.9.o
1510 1510
 
1511
-.debug_line     0x0000000000000000      0x583
1512
- .debug_line    0x0000000000000000      0x2d2 src/c/main.c.9.o
1513
- .debug_line    0x00000000000002d2      0x121 diorite/appinfo.auto.c.9.o
1514
- .debug_line    0x00000000000003f3       0xcc diorite/src/resource_ids.auto.c.9.o
1515
- .debug_line    0x00000000000004bf       0xc4 src/message_keys.auto.c.9.o
1511
+.debug_line     0x0000000000000000      0x57c
1512
+ .debug_line    0x0000000000000000      0x2cb src/c/main.c.9.o
1513
+ .debug_line    0x00000000000002cb      0x121 diorite/appinfo.auto.c.9.o
1514
+ .debug_line    0x00000000000003ec       0xcc diorite/src/resource_ids.auto.c.9.o
1515
+ .debug_line    0x00000000000004b8       0xc4 src/message_keys.auto.c.9.o
1516 1516
 
1517 1517
 .debug_str      0x0000000000000000      0xd32
1518 1518
  .debug_str     0x0000000000000000      0x9ad src/c/main.c.9.o
... ...
@@ -1524,5 +1524,5 @@ OUTPUT(/home/louis/pebble-dev/projects/synocam_home_switch/build/diorite/pebble-
1524 1524
  .debug_str     0x0000000000000d1a       0x18 src/message_keys.auto.c.9.o
1525 1525
                                         0x14f (size before relaxing)
1526 1526
 
1527
-.debug_frame    0x0000000000000000       0xc4
1528
- .debug_frame   0x0000000000000000       0xc4 src/c/main.c.9.o
1527
+.debug_frame    0x0000000000000000       0xbc
1528
+ .debug_frame   0x0000000000000000       0xbc src/c/main.c.9.o
1529 1529
Binary files a/build/src/c/main.c.9.o and b/build/src/c/main.c.9.o differ
1530 1530
Binary files a/build/synocam_home_switch.pbw and b/build/synocam_home_switch.pbw differ
... ...
@@ -164,7 +164,7 @@ void comm_is_ready() {
164 164
   // Create a text layer and set the text
165 165
   //const GEdgeInsets label_insets = {.right = ACTION_BAR_WIDTH, .left = ACTION_BAR_WIDTH / 2};
166 166
   //s_text_layer = text_layer_create(grect_inset(bounds, label_insets));
167
-  //text_layer_set_text(s_text_layer, "Welcome to Syno Cam Switch ! ready to switch...");
167
+  text_layer_set_text(s_text_layer, "Welcome to Syno Cam Switch ! ready to switch...");
168 168
 
169 169
   // Set the font and text alignment
170 170
   //text_layer_set_font(s_text_layer, fonts_get_system_font(FONT_KEY_GOTHIC_28_BOLD));
... ...
@@ -174,15 +174,11 @@ void comm_is_ready() {
174 174
   //layer_add_child(window_get_root_layer(s_window), text_layer_get_layer(s_text_layer));
175 175
 
176 176
   // Enable text flow and paging on the text layer, with a slight inset of 10, for round screens
177
-  text_layer_enable_screen_text_flow_and_paging(s_text_layer, 10);
177
+  //text_layer_enable_screen_text_flow_and_paging(s_text_layer, 10);
178 178
 
179 179
   // Push the window, setting the window animation to 'true'
180 180
   //window_stack_push(s_window, true);
181 181
 
182
-  // App Logging!
183
-  APP_LOG(APP_LOG_LEVEL_DEBUG, "Just pushed a window!");
184
-
185
-  // waiting for BT comm ready 
186 182
   // click provider
187 183
   //window_set_click_config_provider(s_window, click_config_provider);
188 184