generated from Template/H563ZI-HAL-CMake-Template
	imu and gps allright
This commit is contained in:
		| @@ -349,13 +349,14 @@ void gps_thread_entry(ULONG thread_input) | ||||
|             tx_event_flags_set(&system_events, EVENT_LOCATION_UPDATED, TX_OR); | ||||
|  | ||||
| 			 | ||||
| 			msg.lat = current_location.lat; | ||||
| 			msg.lon = current_location.lon; | ||||
| //			msg.lat = current_location.lat; | ||||
| //			msg.lon = current_location.lon; | ||||
| //            snprintf(msg, sizeof(msg), "#{\"lat\":%.6f,\"lon\":%.6f,\"angle\":%.2f}\n", | ||||
| //                     current_location.lat, | ||||
| //                     current_location.lon, | ||||
| //                     current_location.angle); | ||||
|             tx_queue_send(&ble_tx_queue, &msg, TX_WAIT_FOREVER); | ||||
| 			BleMessage msg = current_location; | ||||
| 			tx_queue_send(&ble_tx_queue, &msg, TX_WAIT_FOREVER); | ||||
|  | ||||
|         } | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user