mec1308.c: Ensure programmer param variable is always initialised

Programmer param variable is now declared inline with the code and
is const, so that it cannot be used uninitialised.

TEST=builds and ninja test from 51487

Change-Id: I2d2b3039da2ef185cb31509b3901d56b428688b7
Signed-off-by: Anastasia Klimchuk <>
Tested-by: build bot (Jenkins) <>
Reviewed-by: Angel Pons <>
1 file changed