Skip to content

Commit

Permalink
Made hakko default
Browse files Browse the repository at this point in the history
  • Loading branch information
PTDreamer committed Apr 29, 2018
1 parent a3c5a25 commit 2b910e3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Src/settings.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include "settings.h"
#include <string.h>
#define FLASH_ADDR (0x8000000|64512)/*Flash start OR'ed with the maximum amount of flash - 256 bytes*/
#define JBC
//#define JBC
void saveSettings() {
HAL_FLASH_Unlock(); //unlock flash writing
FLASH_EraseInitTypeDef erase;
Expand Down Expand Up @@ -48,6 +48,7 @@ void resetSettings() {
systemSettings.currentNumberOfTips = 1;
strcpy(systemSettings.ironTips[0].name, "DFLT");
#ifdef JBC
#warning "BUILDING FOR JBC"
for(uint8_t x = 0; x < 10; ++x) {
systemSettings.ironTips[x].calADC_At_200 = 390;
systemSettings.ironTips[x].calADC_At_300 = 625;
Expand Down

0 comments on commit 2b910e3

Please sign in to comment.