clang-format and IWYU fixes

This commit is contained in:
wheremyfoodat 2024-01-23 17:17:23 +02:00
parent a3fda72f88
commit ecf0416b64

View file

@ -1,4 +1,7 @@
#include "services/cam.hpp"
#include <vector>
#include "ipc.hpp"
#include "kernel.hpp"
@ -12,7 +15,7 @@ namespace CAMCommands {
GetTransferBytes = 0x000C0040,
SetTrimming = 0x000E0080,
SetTrimmingParamsCenter = 0x00120140,
SetSize = 0x001F00C0, // Set size has different headers between cam:u and New3DS QTM module
SetSize = 0x001F00C0, // Set size has different headers between cam:u and New3DS QTM module
SetFrameRate = 0x00200080,
SetContrast = 0x00230080,
GetSuitableY2rStandardCoefficient = 0x00360000,
@ -78,9 +81,7 @@ void CAMService::handleSyncRequest(u32 messagePointer) {
case CAMCommands::SetTrimmingParamsCenter: setTrimmingParamsCenter(messagePointer); break;
case CAMCommands::SetSize: setSize(messagePointer); break;
default:
Helpers::panic("Unimplemented CAM service requested. Command: %08X\n", command);
break;
default: Helpers::panic("Unimplemented CAM service requested. Command: %08X\n", command); break;
}
}