Skip to content

Commit

Permalink
Merge pull request #1 from perillamint/master
Browse files Browse the repository at this point in the history
Some bug fixes
  • Loading branch information
DangerousPrototypes committed Oct 7, 2015
2 parents 29e65f5 + 1aee688 commit 10f1ec1
Show file tree
Hide file tree
Showing 7 changed files with 525 additions and 241 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/Firmware/busPirate.X/build/default/
/Firmware/busPirate.X/dist/
9 changes: 9 additions & 0 deletions Firmware/UART.c
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,10 @@ void UARTsetup_exc(void)

UART2Enable();

#if !defined (BUSPIRATEV4) || defined(BPV4_DEBUG)
//BPv4 does not use U2BRG to communicate with PC unless it is in debug mode
if(U2BRG<U1BRG) BPMSG1249;
#endif


#if defined(BUSPIRATEV4)
Expand All @@ -285,7 +288,10 @@ void UARTsetup_exc(void)

}
UART2Enable();
#if !defined (BUSPIRATEV4) || defined(BPV4_DEBUG)
//BPv4 does not use U2BRG to communicate with PC unless it is in debug mode
if(U2BRG<U1BRG) BPMSG1249;
#endif
}
#endif

Expand Down Expand Up @@ -409,7 +415,10 @@ void UARTmacro(unsigned int macro)
UART2Disable();
UARTgetbaud(0);
UART2Enable();
#if !defined (BUSPIRATEV4) || defined(BPV4_DEBUG)
//BPv4 does not use U2BRG to communicate with PC unless it is in debug mode
if(U2BRG<U1BRG) BPMSG1249;
#endif
break;
default:
//bpWmessage(MSG_ERROR_MACRO);
Expand Down
8 changes: 0 additions & 8 deletions Firmware/busPirate.X/nbproject/Makefile-genesis.properties

This file was deleted.

Loading

0 comments on commit 10f1ec1

Please sign in to comment.