/* Prints the HID Collection path (along with each node's attributes) to the serial port for display to the user, from the given starting node to the root node. */
void OutputCollectionPath(const HID_CollectionPath_t *const CollectionPath)
/* Prints the HID Collection path (along with each node's attributes) to the serial port for display to the user, from the given starting node to the root node. */
void OutputCollectionPath(const HID_CollectionPath_t *const CollectionPath)
{
	const HID_CollectionPath_t* CurrentNode = CollectionPath;
	while (CurrentNode != NULL)
	{
		printf_P(PSTR("      |\r\n"
					  "      - Type:  0x%02" PRIX8 "\r\n"
					  "      - Usage: 0x%02" PRIX8 "\r\n"),
					  CurrentNode->Type, CurrentNode->Usage);
		CurrentNode = CurrentNode->Parent;
	}
	printf_P(PSTR("      |\r\n"
				  "      END\r\n"));
}