Replaced a magic value with a namedmagic value
This commit is contained in:
parent
21e53d178f
commit
acfa8dae92
|
@ -64,7 +64,9 @@ namespace SPU {
|
||||||
}
|
}
|
||||||
|
|
||||||
static void setup_data_transfer_control() {
|
static void setup_data_transfer_control() {
|
||||||
DataTransferControl.write((2 << 1));
|
static constexpr uint16_t RequiredValue = (2 << 1);
|
||||||
|
|
||||||
|
DataTransferControl.write(RequiredValue);
|
||||||
}
|
}
|
||||||
|
|
||||||
void setup() {
|
void setup() {
|
||||||
|
|
Loading…
Reference in New Issue