Use external 16MHz crystal

This commit is contained in:
Rihards Skuja 2018-01-17 17:54:17 +02:00
parent a48b71620f
commit 2d74be29e9
No known key found for this signature in database
GPG Key ID: 53FA13A3F7F8571B
2 changed files with 1 additions and 6 deletions

View File

@ -31,7 +31,7 @@ DEBUG = stabs
CSTANDARD = -std=gnu99
# Place -D or -U options here
CDEFS = -DF_CPU=1000000L -D__AVR__ -D__AVR_ATmega328P__
CDEFS = -DF_CPU=16000000L -D__AVR__ -D__AVR_ATmega328P__
# Place -I options here
CINCS = -I $(INC_DIR)

View File

@ -12,11 +12,6 @@
#include "debug.h"
#endif /* DEBUG */
#ifndef F_CPU
#define F_CPU 1000000UL // Stock atmega328p
#endif
void read_temp(void)
{
double d;