fix configuration register

master
Yorick van Pelt 2019-01-08 19:22:10 +01:00
parent 8f020f1214
commit 29721bce3d
Signed by: yorick
GPG Key ID: D8D3CC6D951384DE
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@
// disable watchdog,
// and DO NOT disable low voltage programming.
// The rest of fuses are left as default.
__code uint16_t __at (_CONFIG1) __configword = _WDTE_OFF & _BOREN_ON & _CP_OFF;
__code uint16_t __at (_CONFIG1) __configword = _FOSC_INTOSC & _CLKOUTEN_OFF & _WDTE_OFF & _BOREN_ON & _CP_OFF;
#define LED_PORT PORTCbits.RC5
#define LED_TRIS TRISCbits.TRISC5