4 errors

Dependencies:   KS0108_PCF8574 mbed

Committer:
GuiTwo
Date:
Tue Sep 11 10:21:10 2012 +0000
Revision:
3:ec80bb6ff5da
Parent:
0:936f1c020120
4 errors on vector .cc

Who changed what in which revision?

UserRevisionLine numberNew contents of line
GuiTwo 0:936f1c020120 1 #include "mbed.h"
GuiTwo 0:936f1c020120 2 #include "include/menbedMenuParam.h"
GuiTwo 0:936f1c020120 3
GuiTwo 0:936f1c020120 4 MenbedMenuParam::MenbedMenuParam (
GuiTwo 0:936f1c020120 5 float (*initValFcn)(void), void (*finalValFcn)(float),
GuiTwo 0:936f1c020120 6 bool liveUpdate, float min, float max,
GuiTwo 0:936f1c020120 7 float inc) :
GuiTwo 0:936f1c020120 8 initValFcn(initValFcn), finalValFcn(finalValFcn), _liveUpdate(liveUpdate),
GuiTwo 0:936f1c020120 9 _min(min), _max(max), _inc(inc)
GuiTwo 0:936f1c020120 10 {
GuiTwo 0:936f1c020120 11 }
GuiTwo 0:936f1c020120 12
GuiTwo 0:936f1c020120 13 float MenbedMenuParam::getVal (void)
GuiTwo 0:936f1c020120 14 {
GuiTwo 0:936f1c020120 15 if (initValFcn == NULL)
GuiTwo 0:936f1c020120 16 return 0.0;
GuiTwo 0:936f1c020120 17
GuiTwo 0:936f1c020120 18 return initValFcn();
GuiTwo 0:936f1c020120 19 }
GuiTwo 0:936f1c020120 20
GuiTwo 0:936f1c020120 21 void MenbedMenuParam::setVal (float v)
GuiTwo 0:936f1c020120 22 {
GuiTwo 0:936f1c020120 23 if (finalValFcn == NULL)
GuiTwo 0:936f1c020120 24 return;
GuiTwo 0:936f1c020120 25
GuiTwo 0:936f1c020120 26 finalValFcn(v);
GuiTwo 0:936f1c020120 27 }