Lines Matching refs:val1
84 if (apex_mode.val1 == TDK_APEX_PEDOMETER) { in main()
86 } else if (apex_mode.val1 == TDK_APEX_TILT) { in main()
88 } else if (apex_mode.val1 == TDK_APEX_WOM) { in main()
90 } else if (apex_mode.val1 == TDK_APEX_SMD) { in main()
112 if (apex_mode.val1 == TDK_APEX_PEDOMETER) { in main()
119 now_str(), apex_pedometer[0].val1, in main()
121 apex_pedometer[1].val1 == 1 ? "Walk" in main()
122 : apex_pedometer[1].val1 == 2 ? "Run" in main()
124 } else if (apex_mode.val1 == TDK_APEX_TILT) { in main()
130 apex_tilt.val1 ? "TILT" : "Unknown trig"); in main()
131 } else if (apex_mode.val1 == TDK_APEX_WOM) { in main()
136 printf("[%s]: WOM x=%d y=%d z=%d\n", now_str(), apex_wom[0].val1, in main()
137 apex_wom[1].val1, apex_wom[2].val1); in main()
138 } else if (apex_mode.val1 == TDK_APEX_SMD) { in main()
144 apex_smd.val1 ? "SMD" : "Unknown trig"); in main()