#include "dvisampler0.h"
#include "dvisampler1.h"
+#ifdef POTS_BASE
static int scale_pot(int raw, int range)
{
int pot_min = 64000;
fb_blender_f1_write(scale_pot(p1, 255));
}
-static void pots_service(void)
+static void ui_service(void)
{
static int last_event;
static int additive_blend_enabled;
}
}
+#else
+
+static void ui_service(void)
+{
+ fb_blender_f0_write(0xff);
+ fb_blender_f1_write(0xff);
+}
+
+#endif
+
static void fb_service(void)
{
int c;
while(1) {
dvisampler0_service();
dvisampler1_service();
- pots_service();
+ ui_service();
fb_service();
membw_service();
}