Revert "Fix T47896: Scripted Expression string length limit is too short for some autogenerated expressions"

This reverts commit 322f86d6b330ebeb1da5c1f527714745dc901460.
This commit is contained in:
Joshua Leung 2016-03-26 23:00:20 +13:00
parent 5759e335c3
commit 6a0c187653

@ -411,7 +411,7 @@ typedef struct ChannelDriver {
/* python expression to execute (may call functions defined in an accessory file)
* which relates the target 'variables' in some way to yield a single usable value
*/
char expression[512]; /* expression to compile for evaluation */
char expression[256]; /* expression to compile for evaluation */
void *expr_comp; /* PyObject - compiled expression, don't save this */
float curval; /* result of previous evaluation */