~grimler/Heimdall

990ce68f5c56223df12e7d70dccaaf48df9ff771 — Henrik Grimler 2 years ago c939ab1
BridgeManager: fix missing newline in error messages
1 files changed, 3 insertions(+), 3 deletions(-)

M heimdall/source/BridgeManager.cpp
M heimdall/source/BridgeManager.cpp => heimdall/source/BridgeManager.cpp +3 -3
@@ 312,12 312,12 @@ bool BridgeManager::InitialiseProtocol(void)

	if (libusb_reset_device(deviceHandle))
	{
		Interface::PrintError("Failed to reset device!");
		Interface::PrintError("Failed to reset device!\n");
	}

	if (!SendBulkTransfer(dataBuffer, 4, 1000))
	{
		Interface::PrintError("Failed to send handshake!");
		Interface::PrintError("Failed to send handshake!\n");
	}

	// Expect "LOKE"


@@ 468,7 468,7 @@ int BridgeManager::Initialise(bool resume)
	if (result != LIBUSB_SUCCESS)
	{
		Interface::PrintError("Failed to initialise libusb. libusb error: %d\n", result);
		Interface::Print("Failed to connect to device!");
		Interface::Print("Failed to connect to device!\n");
		return (BridgeManager::kInitialiseFailed);
	}