diff options
Diffstat (limited to 'flash/uart_boot/uart_boot.c')
| -rw-r--r-- | flash/uart_boot/uart_boot.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/flash/uart_boot/uart_boot.c b/flash/uart_boot/uart_boot.c index f2047d8..40c3682 100644 --- a/flash/uart_boot/uart_boot.c +++ b/flash/uart_boot/uart_boot.c @@ -246,11 +246,11 @@ int main(int argc, char* argv[]) } else { // new Players have disk power control on PB4 - reg = ReadHalfword(serial_handle, 0x05FFFFC4); // PBIOR + reg = ReadHalfword(serial_handle, 0x05FFFFC6); // PBIOR reg |= 0x0010; // set bit 4: output WriteHalfword(serial_handle, 0x05FFFFC6, reg); - reg = ReadHalfword(serial_handle, 0x05FFFFC0); // PBDR + reg = ReadHalfword(serial_handle, 0x05FFFFC2); // PBDR reg &= ~0x0010; // clear PB4 to power down WriteHalfword(serial_handle, 0x05FFFFC2, reg); } |