Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Mod to work with 12M crystal
- Loading branch information
Showing
with
3 additions
and
3 deletions.
-
+3
−3
src/GB_Cart_Flasher_FW.c
|
|
@@ -1670,15 +1670,15 @@ int main(void) |
|
|
|
|
|
if ((PINE & (1u << DDE0 | 1u << DDE2)) == 0x01u) { |
|
|
|
|
|
UBRRL = 0x02; |
|
|
UBRRL = 0x05; |
|
|
|
|
|
} else if ((PINE & (1u << DDE0 | 1u << DDE2)) == 0x04u) { |
|
|
|
|
|
UBRRL = 0x00; |
|
|
UBRRL = 0x01; |
|
|
|
|
|
} else { |
|
|
|
|
|
UBRRL = 0x01; |
|
|
UBRRL = 0x03; |
|
|
|
|
|
} |
|
|
|
|
|
|