altos: Update time for next alarm each time a task is added
[fw/altos] / src / core / ao_sample_profile.c
index 1d9ed41492bba22d094deac324f62fcbd104cc08..e682bd98e466a6031899d6e8744950d5a15bc665 100644 (file)
 #include <ao_task.h>
 
 #ifndef AO_SAMPLE_PROFILE_LOW_PC
-#define AO_SAMPLE_PROFILE_LOW_PC       0x08000000
+#define AO_SAMPLE_PROFILE_LOW_PC       0x08002000
 #endif
 
 #ifndef AO_SAMPLE_PROFILE_HIGH_PC
-#define AO_SAMPLE_PROFILE_HIGH_PC      (AO_SAMPLE_PROFILE_LOW_PC + 44 * 1024)
+#define AO_SAMPLE_PROFILE_HIGH_PC      0x08003000
 #endif
 
 #ifndef AO_SAMPLE_PROFILE_SHIFT
-#define AO_SAMPLE_PROFILE_SHIFT                6
+#define AO_SAMPLE_PROFILE_SHIFT                3
 #endif
 
 #define AO_SAMPLE_PROFILE_RANGE                (AO_SAMPLE_PROFILE_HIGH_PC - AO_SAMPLE_PROFILE_LOW_PC)